@@ -12,7 +12,7 @@ Extension for [`mdast-util-from-markdown`][from-markdown] and/or
12
12
[ ` mdast-util-to-markdown ` ] [ to-markdown ] to support GitHub flavored markdown
13
13
autolink literals in ** [ mdast] [ ] ** .
14
14
When parsing (` from-markdown ` ), must be combined with
15
- [ ` micromark-extension-gfm-autolink-literal ` ] [ syntax ] .
15
+ [ ` micromark-extension-gfm-autolink-literal ` ] [ extension ] .
16
16
17
17
You probably shouldn’t use this package directly, but instead use ` remark-gfm `
18
18
with ** [ remark] [ ] ** .
@@ -32,13 +32,13 @@ Say our script, `example.js`, looks as follows:
32
32
``` js
33
33
var fromMarkdown = require (' mdast-util-from-markdown' )
34
34
var toMarkdown = require (' mdast-util-to-markdown' )
35
- var autolinkLiteralSyntax = require (' micromark-extension-gfm-autolink-literal' )
35
+ var syntax = require (' micromark-extension-gfm-autolink-literal' )
36
36
var autolinkLiteral = require (' mdast-util-gfm-autolink-literal' )
37
37
38
38
var doc
= ' www.example.com, https://example.com, and [email protected] .'
39
39
40
40
var tree = fromMarkdown (doc, {
41
- extensions: [autolinkLiteralSyntax ],
41
+ extensions: [syntax ],
42
42
mdastExtensions: [autolinkLiteral .fromMarkdown ]
43
43
})
44
44
@@ -112,7 +112,7 @@ for [`mdast-util-from-markdown`][from-markdown] and
112
112
— remark plugin to support GFM
113
113
* [ ` micromark/micromark ` ] [ micromark ]
114
114
— the smallest commonmark-compliant markdown parser that exists
115
- * [ ` micromark/micromark-extension-gfm-autolink-literal ` ] [ syntax ]
115
+ * [ ` micromark/micromark-extension-gfm-autolink-literal ` ] [ extension ]
116
116
— micromark extension to parse GFM autolink literals
117
117
* [ ` syntax-tree/mdast-util-from-markdown ` ] [ from-markdown ]
118
118
— mdast parser using ` micromark ` to create mdast from markdown
@@ -183,4 +183,4 @@ abide by its terms.
183
183
184
184
[ micromark ] : https://github.com/micromark/micromark
185
185
186
- [ syntax ] : https://github.com/micromark/micromark-extension-gfm-autolink-literal
186
+ [ extension ] : https://github.com/micromark/micromark-extension-gfm-autolink-literal
0 commit comments