Download Latest Version commonmark-java 0.25.0 source code.tar.gz (346.2 kB)
Email in envelope

Get an email when there's a new version of commonmark-java

Home / commonmark-parent-0.23.0
Name Modified Size InfoDownloads / Week
Parent folder
commonmark-java 0.23.0 source code.tar.gz 2024-09-16 337.4 kB
commonmark-java 0.23.0 source code.zip 2024-09-16 555.0 kB
README.md 2024-09-16 1.7 kB
Totals: 3 Items   894.0 kB 0

Added

  • New extension for footnotes!
  • Syntax: ``` Main text[^1]

    [^1]: Additional text in a footnote `` - Inline footnotes like^[inline footnote]are also supported when enabled via an option inFootnotesExtension.Builder- Use classFootnotesExtensionin artifactcommonmark-ext-footnotes(#332) - New optionomitSingleParagraphPinHtmlRenderer.Builderfor not using

    tags for when a document only has one paragraph (#150) - Support for custom link processing during inline parsing (e.g.[foo]), seeParser.Builder#linkProcessor- Support for extending inline parsing with custom inline content parsers. SeeParser.Builder#customInlineContentParserFactory`. This allows users/extensions to hook into inline parsing on a deeper level than before (e.g. with delimiter processors). It can be used to add support for math/latex formulas or other inline syntax. (#321)

    Changed

    • The default DefaultUrlSanitizer now also allows data as a protocol. Use the constructor with a list to customize this. (#329)
    • LinkReferenceDefinition now extends Block (it was extending Node directly before)
    • MarkdownRenderer: Don't escape = text if it's the first node in a block (#335)

    Fixed

    • Fix parsing of link reference definitions with incorrect title syntax (followed by characters other than space/tab). In that case, the title was set to the partially-parsed title and the source spans were wrong. (#315)
    • Fix source spans of blocks with lazy continuation lines (#337)
    • MarkdownRenderer: Preserve thematic break literals (#331)
Source: README.md, updated 2024-09-16