.md
3 claimants
2 primary
0 secondary
shared primary (2)
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
963.7M
total files
542.4M
first seen 2021–2025 (56.3%)
2021
median year (half its files since)
Case variants in archive: .md (961.5M), .MD (2.2M), .Md (19.3K), .mD (914) — aggregated above.
Attribution status
This extension is attributed to gcc-machine-description; markdown as primary by 5 authoritative claims.
Claimants (6)
Languages that list
.md among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| gcc-machine-description | linguist | primary |
| gcc-machine-description | pygments | primary |
| markdown | linguist | primary |
| markdown | pygments | primary |
| markdown | wikidata | primary |
| Modula-2 | wikipedia | proposed |
Wikidata says… (2)
File formats, image formats, audio codecs and other non-PL
entities that claim
.md on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Mayura Draw document Q105863842 file format | file format | — | application/octet-stream | — | Use as new PL ↗ |
| MDCD compressed archive (v1.0) Q105853991 file format | file format | — | application/octet-stream | — | Use as new PL ↗ |
Disambiguation rules (3)
Linguist heuristics that decide, by content, which language a
.md file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.md/0 | markdown | predicates | [{"kind": "any", "regexes": ["(^[-A-Za-z0-9=#!\\*\\[|>])|<\\/", "\\A\\z"]}] | |
h/linguist/.md/1 | gcc-machine-description | predicates | [{"kind": "any", "regexes": ["^(;;|\\(define_)"]}] | |
h/linguist/.md/2 | markdown | default | [] |
SWH-mined examples (0)
No archived examples for .md in our local mirror yet.