Render syntax highlighting for code blocks as decorations. The document itself stays plain text. Tokens are computed lazily per block and cached by node identity, so typing in one block never re-tokenizes the others. Returns a disposer.
Render syntax highlighting for code blocks as decorations. The document itself stays plain text. Tokens are computed lazily per block and cached by node identity, so typing in one block never re-tokenizes the others. Returns a disposer.