diff options
author | ache <ache@ache.one> | 2020-02-07 18:57:12 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2020-02-07 18:57:12 +0100 |
commit | 292b0e0b0716716b5505e43a3de75487794f887d (patch) | |
tree | b4aefac36894817b01c02ef1668f39c8d78bb37a /src | |
parent | Nicer tests (diff) |
Support for linkReferences and footnotes
Diffstat (limited to 'src')
-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', '*': '*', }; |