Markdown Language

Loogv0.1.0MIT

Syntax highlighting for Markdown, with fenced code blocks highlighted in their own language.

InstallOpens in Loog

Details

Syntax highlighting for Markdown (block and inline grammars, WebAssembly) and the injection query that colours fenced code blocks in their own language. It ships with Loog.

To change the colours, put a highlights.scm for the markdown or markdown_inline grammar in your own queries folder; start it with ; extends to add to the rules here. Use Inspect Highlight at Cursor to see which rule colours a place.

Contributions

Syntax highlighting
GrammarFile types
markdown
mdmarkdownmdownmkd
markdown_inline

Changelog

0.1.3

  • Changed the extension category from Languages to Syntax Highlighting.

0.1.2

  • The manifest names what the extension is for: contributes.highlight replaces contributes.languages. The grammar and queries are unchanged; this needs a Loog that reads the new name.

0.1.1

  • The extension builds itself; nothing in what it contains changed.

0.1.0

  • Moved out of Loog's core into the loog-extensions repository.