Skip to content

Syntax Highlighting

Currently basic syntax highlighting is supported for several environments:

  1. vscode-rzk VS Code extension provides syntax highlighting for both *.rzk files and rzk code blocks in Markdown files.
  2. HighlightJS syntax highlighting (used by MkDocs) is available at https://github.com/rzk-lang/rzk/blob/develop/docs/custom_theme/js/rzk.js
  3. Pygments syntax highlighting is available a Python package at https://github.com/rzk-lang/rzk/tree/develop/rzk/RzkLexer. This syntax highlighter is suitable for using with LaTeX (e.g. with minted package).
  4. There is also an obsolete syntax highlighting mode for CodeMirror 5.