Skip to content

commonmark-java 0.28.0

Latest

Choose a tag to compare

@robinst robinst released this 31 Mar 03:52
· 2 commits to main since this release

Added

  • New extension for alerts (aka callouts/admonitions)
    • Syntax:
      > [!NOTE]
      > The text of the note.
      
    • As types you can use NOTE, TIP, IMPORTANT, WARNING, CAUTION; or configure the
      extension to add additional ones.
    • Use class AlertsExtension in artifact commonmark-ext-gfm-alerts (#420)
  • New option maxOpenBlockParsers for Parser.Builder to set an overall limit
    for the depth of block parsing. If set, any nesting beyond the limit will be
    parsed as paragraph text instead. The default remains unlimited.