Files
coopgo/node_modules/mdast-util-gfm-autolink-literal/to-markdown.js
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

27 lines
524 B
JavaScript

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
}
]