Skip to content

Code syntax stylings

Compare
Choose a tag to compare
@lytefast lytefast released this 04 Nov 19:30
· 21 commits to master since this release

Adds support to highlight code for Kotlin, Python, Rust, XML, ProtoBuff. Kotlin has some additional support, but it wouldn't be hard to add it for other languages too.

Add code syntax highlighting to your parser by using the new CodeRules + CodeNode. Use CodeStyleProviders to apply styles to detected syntaxs.

See #18 for details on how to add new languages.