Skip to content

commonmark-java 0.27.0

Latest

Choose a tag to compare

@robinst robinst released this 12 Oct 10:28
· 4 commits to main since this release

Added

  • Autolink extension: Now supports configuration of different link types that
    should be recognized and converted to links. See AutolinkExtension#builder

    Type Default? Description
    URL Yes URL with a protocol such as https://example.com
    EMAIL Yes Email address such as [email protected]
    WWW Yes Address beginning with www such as www.example.com

    Note that this changes the behavior of AutolinkExtension.create() to now also
    include WWW links by default. To re-enable the previous behavior, use:

    AutolinkExtension.builder().linkTypes(AutolinkType.URL, AutolinkType.EMAIL).build();