## Syntax highlight for JavaScript

    const pattern = registry.patterns[name];
    if (pattern.transform) {
        try {
            pattern.transform($content);
        } catch (e) {
            if (dont_catch) {
              throw(e);
            }
            log.error("Transform error for pattern" + name, e);
        }
    }

## Syntax highlight for HTML

    <h1>hello</h1>

## Syntax highlight for Python

    def foo():
        if not bar:
              return True