Class AutolinkExtension

  • All Implemented Interfaces:
    com.vladsch.flexmark.parser.Parser.ParserExtension, com.vladsch.flexmark.util.misc.Extension

    public class AutolinkExtension
    extends Object
    implements com.vladsch.flexmark.parser.Parser.ParserExtension
    Extension for automatically turning plain URLs and email addresses into links.

    Create it with create() and then configure it on the builders

    The parsed links are turned into normal Link nodes.

    • Field Detail

      • IGNORE_LINKS

        public static final com.vladsch.flexmark.util.data.DataKey<String> IGNORE_LINKS
    • Method Detail

      • parserOptions

        public void parserOptions​(com.vladsch.flexmark.util.data.MutableDataHolder options)
        Specified by:
        parserOptions in interface com.vladsch.flexmark.parser.Parser.ParserExtension
      • extend

        public void extend​(com.vladsch.flexmark.parser.Parser.Builder parserBuilder)
        Specified by:
        extend in interface com.vladsch.flexmark.parser.Parser.ParserExtension