noties/Prism4j
Simplified Java clone of prism-js
4 Releases
Latest: 7y ago
v2.0.0Latest
📋 Changes
- package name migration: `ru.noties.prism` -> `io.noties.prism`
- maven artifact group-id change: `ru.noties` -> `io.noties`
- removed android suppport annotations, a light-weight alternative from Intellij is used (support annotations were added to generated code which jetifier cannot process)
prism4j/v1.1.0
📋 Changes
- Fix issue when cloning a grammar was causing stack overflow (recursive copying)
- Fix issue with recursive toString in Grammar, Token adn Pattern
- Add `includeAll` option for `@PrismBundle`
- Rename `name` -> `grammarLocatorClassName` in `@PrismBundle`
- Allow `include` option to be empty in `@PrismBundle` in case of `includeAll` is set
- add `languages()` method to `GrammarLocator` to return all included languages
prism4j-bundler/v1.1.0
📋 Changes
- Add `languages()` method to generated `GrammarLocator` class
- Allow `includeAll` option (include all available languages)
- Add language support:
- * `groovy` (no string interpolation)
- * `markdown`
- * `scala`
- * `swift`
prism4j-bundler/v1.0.1
Fix for Android (escape `}` character in some patterns as they were causing runtime crashes)
