GitPedia
noties

noties/Prism4j

Simplified Java clone of prism-js

4 Releases
Latest: 7y ago
v2.0.0Latest
notiesnoties·7y ago·June 11, 2019
GitHub

📋 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
notiesnoties·7y ago·July 23, 2018
GitHub

📋 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
notiesnoties·7y ago·July 23, 2018
GitHub

📋 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
notiesnoties·7y ago·July 17, 2018
GitHub

Fix for Android (escape `}` character in some patterns as they were causing runtime crashes)