Skip to content

commonmark-java 0.24.0

Latest
Compare
Choose a tag to compare
@robinst robinst released this 21 Oct 12:24
· 3 commits to main since this release

Added

  • SourceSpan on nodes now have a getInputIndex to get the index within the
    original input string (in addition to the existing line/column indexes).
    This is useful when looking up the input source: It can now be done using
    substring instead of having to split the input into lines first (#348)
  • Configurable line break rendering for TextContentRenderer via lineBreakRendering
    on the builder; e.g. LineBreakRendering.SEPARATE_BLOCKS will render an empty
    line between blocks (#344)

Changed

  • Adopted small changes from OpenJDK vendoring to make updates easier for them (#343)

Fixed

  • Enable overriding of built-in node rendering for TextContentRenderer (#346)