mjbvz / vscode-markdown-shiki

Uses Shiki for VS Code's built-in markdown preview syntax highlighting
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-Shiki
MIT License
19 stars 6 forks source link

Add support for new grammar injection in markdown code blocks #2

Open larhun opened 5 years ago

larhun commented 5 years ago

As shown in the example, the code highlighting for the new grammar superjs injected into a markdown code block only works in the VS Code text editor and is not applied in the VS Code markdown preview.

Could the shiki preview be applied to new grammars?

image