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
It would be nice to extend these to include MyST features such as roles and directives.
Notes
Syntax highlighting for directives is somewhat complex due to not knowing what is contained within the directive. It could be code or markdown or rST for example. We could assume MyST for now and parse the inside of each directive as such or build a supported catalog of directives.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It would be nice to have syntax highlighting for
MyST
in neovim based on the treesitter parser.There are currently two
markdown
parsers available includingIt would be nice to extend these to include
MyST
features such as roles and directives.Notes
Syntax highlighting for directives is somewhat complex due to not knowing what is contained within the directive. It could be
code
ormarkdown
orrST
for example. We could assumeMyST
for now and parse the inside of each directive as such or build a supported catalog of directives.Beta Was this translation helpful? Give feedback.
All reactions