Wires MarkView.Avalonia.SyntaxHighlighting.DualThemeTextMateHighlighter and TextMateCodeBlockRenderer into an AvaloniaRenderer. The highlighter is created lazily, holds the dark and the light theme over one shared set of grammars, and is exposed as an IDualThemeCodeHighlighter so code block renderers can update token colours in-place when the theme changes without rebuilding the entire document. Every extension with the same pair of themes shares one highlighter while any of them is alive, so a viewer per message (a chat) loads the themes and grammars once, not once per viewer.
public sealed class TextMateExtension : IMarkViewExtension
kind:method, kind:property, kind:ctor. Press Esc to clear.