Extend aliases and add .mdoc as a supported Roff extension#4232
Extend aliases and add .mdoc as a supported Roff extension#4232
.mdoc as a supported Roff extension#4232Conversation
|
I wonder why GitHub allows self-assignment to merged/closed pull-requests... Moreover, I wonder why the hell I'm noticing this, let alone writing about it. |
|
If roff has a canonical file extension then I'd say it's |
|
@RalphCorderoy Yes, but unfortunately, the My point was that there isn't a canonical extension, but |
|
So it's a land-grab of file extension, first takes all? Or more than one thing can say |
|
See Think of it this way: GitHub certainly don't want to be indexing literally every single file-extension that has less than a hundred uses, and that's where they'd find themselves eventually. If every user felt their hobbyist side-project-programming-languages were eligible for registration on GitHub, think of the mess we'd find ourselves in. 😉 It'd be an endless deluge of conflicting extensions and misclassifications as the Bayesian classifier struggles to cope with 430 I'm not site staff, so I don't claim to know the exact reasoning behind their prerequisites... but if I were in their shoes, I'd be doing the same thing. A line has to be drawn somewhere. |
To complete @Alhadis's answer, several languages can be associated to the same extension of course. Even if we associated extension |
|
I feel legitimately guilty right now. Poor @RalphCorderoy is left thinking And, uh, 3-4 other font-specific text formats I smashed out grammars for. I should be designing fonts instead of ruining @lildude's week... |
This PR adds
.mdocto GitHub's list of Roff extensions, and adds several aliases to make tagging fenced code-blocks easier.Description
The
.mdocextension was brought to my attention bygithub/markup#1196, and I was surprised it was missing. In-the-world usage is in the neighbourhood of 9,374 results. The sample being added here is taken fromlibzip, released under MIT.In addition, I've added several commonly-used synonyms for Roff to facilitate the tagging of fenced code-blocks on GitHub. There's a good chance users might use
~~~manor~~~groffwithout knowing the correct name/spelling.I've also replaced
.manwith.roffas the language's primary extension. Roff doesn't have a canonical file extension, but if it did,.roffwould make more sense than.man. =)Checklist:
/cc @jordemort