Skip to content

createShikiHighlighterProvider

createShikiHighlighterProvider(options): EditorHighlighterProvider

Builds the provider separately from its editor plugin so secondary views can share the exact highlighter, worker owner, language map and theme resolver used by regular editor documents.

ShikiHighlighterPluginOptions

EditorHighlighterProvider