You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, the plan is for this library to eventually use the latest syntax definitions from Sublime Text, which does correctly highlight Typescript inside Markdown. However, syntect currently lacks support for the latest sublime-syntax features to make this possible, namely:
Apologies if this isn't the correct place to raise this issue.
I am using this library via
bat
and I notice that typescript code isn't correctly highlighted in markdown files.This issue has been raised on bat's repo here but from what I can tell the issue is here instead.
I have tried following bat's README to install a better syntax file such as from here https://github.com/SublimeText-Markdown/MarkdownEditing/tree/8bd921657d5fdc7b1aef8ec4e9542d3d941a72ab but it didn't seem to work (potentially because Markdown is already a language it's not picking up the new one)
Either way I think it makes sense that the typescript highlighting is supposed by default
The text was updated successfully, but these errors were encountered: