Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Markdown] Match code block syntax names with Linguist aliases #4007

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

mataha
Copy link
Contributor

@mataha mataha commented Jul 12, 2024

Mainly because batchfile didn't work for batch files...

This commit adds most of Linguist (GH language detector - source) aliases for languages for which fenced code block contexts exist in Markdown grammar.

I've omitted a few aliases because these name separate languages with their own third-party packages (notably cake, octave and some sh variants).

I've left ActionScript alone as I wasn't sure whether the grammar covers as3.

Mainly because `batchfile` didn't work for batch files...

This commit adds most of Linguist (GH language detector - [source][1]) aliases
for languages for which fenced code block contexts exist in Markdown grammar.

I've omitted a few aliases because these name separate languages with their
own third-party packages (notably `cake`, `octave` and some `sh` variants).

I've left ActionScript alone as I wasn't sure whether the grammar covers as3.

[1]: https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml
@mataha mataha force-pushed the feat/markdown/language-name branch from 9f3d9e6 to e1262e6 Compare July 12, 2024 15:26
@deathaxe deathaxe merged commit b319768 into sublimehq:master Jul 13, 2024
2 checks passed
@deathaxe
Copy link
Collaborator

Thanks for improvements!

@mataha mataha deleted the feat/markdown/language-name branch July 13, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants