diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 9f5fd12..3007b90 100644 --- a/src/index.js +++ b/src/index.js @@ -3,7 +3,7 @@ const parseAttr = require('md-attr-parser'); const htmlElemAttr = require('html-element-attributes'); -const supportedElements = ['link', 'atxHeading', 'strong', 'emphasis', 'deletion', 'code', 'setextHeading', 'fencedCode']; +const supportedElements = ['link', 'atxHeading', 'strong', 'emphasis', 'deletion', 'code', 'setextHeading', 'fencedCode', 'reference']; const blockElements = ['atxHeading', 'setextHeading']; const particularElements = ['fencedCode']; @@ -21,6 +21,7 @@ const convTypeTag = { delete: 's', inlineCode: 'code', code: 'code', + linkReference: 'a', '*': '*', }; |