vscode-ebnf
vscode-ebnf copied to clipboard
Support markdown fenced code block injection
I've been writing a lot of EBNF snippets in my notes for my programming languages class, which I write in Markdown. Unfortunately, this extension doesn't highlight EBNF snippets in Markdown at the moment, so they are all coloured as plain text.
So, this PR adds support for highlighting EBNF code snippets in markdown fenced code blocks. This is mostly based on the code in this example repo.
Also, I changed the category from "Languages" to "Programming Languages" and replaced a weird unicode symbol in the aliases section in package.json both at VSCode's recommendation.