Releases: discord/SimpleAST
Releases · discord/SimpleAST
Fix: inline code block
Fixes an issue with code block syntax parser for cases where the language group consumes incorrectly:
```code```
```noLanguage code```
See: 29c77ec
Small fix for backwards compat
Code syntax stylings
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.
Breaking: Parser API optimizations
Below changes are a result of this PR: #19
Breaking Change
Parser
has a simplified generics API
Other changes
- adding rules can be done via
varargs
now - control flow optimizations and readability in
Parser.parse
Hello Jitpack + Version updates
First release using github + jitpack.
This version has no code changes. It simply updates all the dependency versions, I believe they are a couple of years old...