syntax_styler_global.ts view source
SyntaxStyler Pre-configured SyntaxStyler instance with all built-in grammars registered.
examples
import {syntax_styler_global} from '@fuzdev/fuz_code/syntax_styler_global.js';
const html = syntax_styler_global.stylize('const x = 1;', 'ts');