Skip to content

Ver 3.1.0

Choose a tag to compare

@perNyfelt perNyfelt released this 02 Aug 20:55
· 20 commits to main since this release

highlightjs-jvm

  • add the independent highlightjs-jvm module
  • expose Highlight.js string highlighting through the SyntaxHighlighter API
  • add Jsoup-based HTML code-block highlighting with HtmlSyntaxHighlighter
  • run Highlight.js 11.7.0 on Rhino 1.9.1 with all 192 languages
  • generate the bundle reproducibly from the upstream distribution with buildBundle.sh;
    syntax-only transpile, no polyfills, no hand-editing
  • return null instead of auto-detecting when a language is unknown or absent
  • synchronize access because Highlight.js keeps mutable state in the shared scope

gmd-core

  • add the independent highlightjs-jvm module using Rhino and a syntax-transpiled Highlight.js bundle
  • highlight code blocks synchronously before PDF rendering
  • remove JavaFX and WebView from core PDF processing
  • render Matrix Chart and MatrixXChart output as SVG data URIs instead of PNGs
  • use explicit UTF-8 file I/O and validate source, target, and output paths
  • reset template echo state per block and reject unterminated Groovy blocks
  • update the test GUI to perform JavaFX UI updates on the application thread
  • wrap unchecked PDF rendering failures in GmdException
  • remove obsolete Highlight.js JavaScript and language resources from gmd-core
  • add idempotency coverage for already-highlighted HTML blocks
  • leave untagged and unknown-language code blocks unhighlighted
  • write complete html documents from GmdProcessor (affects the Maven and Gradle plugins)
  • make toPdfRaw produce an undecorated pdf, distinct from toPdf
  • stop expanding inline expressions inside plain (backtick and tilde) code fences
  • close th tags and quote attribute values in Html
  • omit missing stylesheets instead of emitting a link with an empty href
  • restore the Highlight.js stylesheet lost in the source tree move; the jar now ships exactly one theme

The fat jar is attached below

gmd-gradle-plugin

  • resolve all output types without JavaFX dependencies
  • declare processGmd inputs and outputs and remove stale generated files
  • validate output types and source/target directories before processing

gmd-maven-plugin

  • resolve all output types without JavaFX dependencies
  • resolve relative source and target paths from the Maven project base directory
  • validate output types and source/target directories before processing
  • remove JavaFX runtime dependency from the plugin