Skip to content

commonmark-java 0.5.0

Compare
Choose a tag to compare
@robinst robinst released this 22 Apr 13:48
· 738 commits to main since this release

Update to CommonMark spec 0.25:

  • Changes how partially consumed tabs are handled.

Features and fixes:

  • Add YAML front matter extension for document metadata blocks (#24), thanks to @chiwanpark
  • Add information about delimiter character and length to delimiter nodes (#10), thanks to @pcj
  • Make HTML rendering for nodes extensible (#35)
  • Make AttributeProvider work for image and table nodes (#31)
  • Add Android test project to build so that we won't break Android support (#38), thanks to @JinneeJ
  • Fix blank line after empty list item to terminate list
  • Fix nested bullet list indented with mix of tab and spaces (#41), thanks to @derari
  • Fix package name in Javadoc, thanks to @jiakuan

ext-autolink: Update to autolink 0.4.0

  • Treat more special characters as trailing delimiters to not include
    ">, "/> and "); at the end of URLs
  • Fix unexpected link end with unfinished delimiter pairs in URLs
  • Fix Android incompatibility by not using java.util.Objects

Extension API changes:

  • Add support for asymmetric delimiters (#17): DelimiterProcessor#getDelimiterChar was split into getOpeningDelimiterChar and getClosingDelimiterChar
  • Replace CustomHtmlRenderer with NodeRenderer which also allows overriding rendering for built-in node types (#35)