From abd80cd6e2d61c61a7d042d7515b923dc8460d63 Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 8 May 2020 04:25:53 +0200 Subject: Add support for autolinks --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/index.js b/src/index.js index d956851..83eb0c1 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,7 @@ const parseAttr = require('md-attr-parser'); const htmlElemAttr = require('html-element-attributes'); const isWhiteSpace = require('is-whitespace-character'); -const supportedElements = new Set(['link', 'atxHeading', 'strong', 'emphasis', 'deletion', 'code', 'setextHeading', 'fencedCode', 'reference', 'footnoteCall']); +const supportedElements = new Set(['link', 'atxHeading', 'strong', 'emphasis', 'deletion', 'code', 'setextHeading', 'fencedCode', 'reference', 'footnoteCall', 'autoLink']); const blockElements = new Set(['atxHeading', 'setextHeading']); const particularElements = new Set(['fencedCode']); -- cgit v1.2.3