updated markdown parser to auto detect fedi link
This commit is contained in:
parent
95f4d5f928
commit
936548e2fd
|
@ -11,7 +11,7 @@ module.exports = (config) => {
|
||||||
|
|
||||||
const markdownLib = markdownIt(mdOptions)
|
const markdownLib = markdownIt(mdOptions)
|
||||||
.use(mdla, {
|
.use(mdla, {
|
||||||
matcher(href, _config) {
|
matcher(href, _c) {
|
||||||
return href.match(/\/@\w+/)
|
return href.match(/\/@\w+/)
|
||||||
},
|
},
|
||||||
attrs: {
|
attrs: {
|
||||||
|
|
Loading…
Reference in New Issue