This commit is contained in:
26
node_modules/mdast-util-gfm-autolink-literal/to-markdown.js
generated
vendored
Normal file
26
node_modules/mdast-util-gfm-autolink-literal/to-markdown.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
var inConstruct = 'phrasing'
|
||||
var notInConstruct = ['autolink', 'link', 'image', 'label']
|
||||
|
||||
exports.unsafe = [
|
||||
{
|
||||
character: '@',
|
||||
before: '[+\\-.\\w]',
|
||||
after: '[\\-.\\w]',
|
||||
inConstruct: inConstruct,
|
||||
notInConstruct: notInConstruct
|
||||
},
|
||||
{
|
||||
character: '.',
|
||||
before: '[Ww]',
|
||||
after: '[\\-.\\w]',
|
||||
inConstruct: inConstruct,
|
||||
notInConstruct: notInConstruct
|
||||
},
|
||||
{
|
||||
character: ':',
|
||||
before: '[ps]',
|
||||
after: '\\/',
|
||||
inConstruct: inConstruct,
|
||||
notInConstruct: notInConstruct
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user