Trevixal API
    Preparing search index...
    • A rule-based highlighter for the bundled languages. It emits offset tokens and nothing else, so it satisfies Highlighter exactly like a wrapper around Shiki or Prism would, swap it out whenever you want a real grammar, without touching the editor.

      Unknown languages produce no tokens, which renders as plain text.

      Parameters

      Returns Highlighter