a fence code block's language string identifier (e.g.: ```foo)
what syntax highlighting to use inside the fenced code block (e.g. fooscript)
Elaboration
I often write the following code block
```sh
echo hello
```
which GitHub's README.md file recognizes properly, and will highlight as
echo hello
When I try to load a markdown file that includes code fences whose language identifier is sh, the Markdown Navigator plugin does not recognize them as shell script files.
I'd like the ability to add an alias, where I can say "Hey Markdown Navigator, when you see a code fence whose language identifier issh, that code fence should highlight using shell script syntax.
Background Context
This plugin has support for syntax highlighting in fenced code blocks
Requested Enhancement
A user could, ideally, specify an alias that maps
what syntax highlighting to use inside the fenced code block (e.g. fooscript)
Elaboration
I often write the following code block
```sh
echo hello
```which GitHub's
README.md
file recognizes properly, and will highlight asWhen I try to load a markdown file that includes code fences whose language identifier is
sh
, the Markdown Navigator plugin does not recognize them as shell script files.I'd like the ability to add an alias, where I can say "Hey Markdown Navigator, when you see a code fence whose language identifier is
sh
, that code fence should highlight usingshell script
syntax.