Skip to content

Releases: discord/SimpleAST

Fix: inline code block

11 Nov 20:13
29c77ec
Compare
Choose a tag to compare

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

05 Nov 20:11
Compare
Choose a tag to compare

Code syntax stylings

04 Nov 19:30
Compare
Choose a tag to compare

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

03 Nov 00:31
4197e64
Compare
Choose a tag to compare

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

25 Oct 00:05
Compare
Choose a tag to compare

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...

1.2.0

24 Oct 23:47
Compare
Choose a tag to compare
1.2.0 Pre-release
Pre-release

Expose publishing through Jitpack.io