I’d to specify the syntax highlighting rules for a code block in markdown, something like:
```mylanguagefoobar
```
I know how it works for existing languages (js, py, etc …) but I want to do it for a new language that is not yet supported. I can write the highlighting rules myself (whatever format is required even though sublime-syntax or tmLanguage would be best so I do the work once). I do know how to do it: https://www.sublimetext.com/docs/syntax.html
I think there was a similar question some time ago: Adding more syntax highlight to code blocks in markdown but there were no answers and it might have been about something different.
It would be very nice if markdown blocks could use any language installed to simplify the process of writing documentation in markdown.
Or maybe there is a way to get highlightjs to work somehow ? but I don’t want to store html in the markdown file