Skip to content

commonmark-java 0.29.0

Latest

Choose a tag to compare

@robinst robinst released this 20 Jun 07:31
· 2 commits to main since this release

Added

  • Support rendering GFM task list items to Markdown (#433)
  • Support rendering YAML front matter to Markdown (#434)
  • Alerts
    • Allow customizing HTML attributes for alert title <p> tag via AttributeProvider (#427)
    • New configuration for AlertsExtension to allow authors to provide custom
      titles per alert. See the
      custom titles section of the alerts README
      for more information. (#430)
    • New configuration for AlertsExtension to allow alerts to be nested within
      other blocks (including other alerts). See
      this section of the alerts README
      for more information. (#430)
    • New configuration for AlertsExtension to allow the set of alert types
      (including standard GFM types) to be completely overwritten. (#435)
      var extension = AlertsExtension.builder()
              .setAllowedTypes(Map.ofEntries(
                      Map.entry("IMPORTANT", "Important"),
                      Map.entry("WARNING", "Warning")
                      Map.entry("BUG", "Known Bug")
              ))
              .build();
    • Support rendering alerts to text (#437)