It lacks the syntax highlight. They could have used tree-sitter[1] for parsing, then the online highlight would be easier to implement.

[1] https://github.com/tree-sitter/tree-sitter

perhaps you meant to include https://github.com/tree-sitter/tree-sitter as reference.