ICodeHighlighterTokenises a single source-code line into coloured text segments. Return null to signal that the language is unsupported; the caller should fall back to plain monochrome rendering. An empty list means the language is supported but the line produces no tokens.
IDualThemeCodeHighlighterExtends IThemeAwareCodeHighlighter by tokenising a line once and returning the colour of every token for both variants, so a theme switch can recolour the existing runs without tokenising the code again or rebuilding the text.
IImageLoaderLoads an image from a URL. Implementations are tried in list order; the first one whose CanLoad(String) returns true is used.
IMarkViewExtensionImplemented by extension packages to plug into a renderer. Called once per render pass, before pipeline.Setup(renderer).
IThemeAwareCodeHighlighterExtends ICodeHighlighter with explicit dark/light variant highlighting, enabling code block renderers to update token colours in-place when the theme changes without rebuilding the entire document.