mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 04:35:20 +00:00
Do markdown-it-attrs later than hashtag, to fix hastag issue
This commit is contained in:
parent
f6512bd053
commit
80d58a7fd8
@ -15,9 +15,8 @@ module.exports = function(eleventyConfig) {
|
||||
html: true
|
||||
})
|
||||
.use(require("markdown-it-footnote"))
|
||||
.use(require("markdown-it-attrs"))
|
||||
.use(require("markdown-it-hashtag"), {
|
||||
hashtagRegExp: `[^\\s!@\\#\\$%\\^&\\*\\(\\)=\\+\\.,\\[\\{\\]\\};:'"\\?><]+(?!(.*\\}))`,
|
||||
hashtagRegExp: `[^\\s!@\\#\\$%\\^&\\*\\(\\)=\\+\\.,\\[\\{\\]\\};:'"\\?><]+`,
|
||||
preceding: "^|\\s",
|
||||
})
|
||||
.use(function(md){
|
||||
@ -35,6 +34,7 @@ module.exports = function(eleventyConfig) {
|
||||
skipHtmlTags: { '[-]': ['pre'] }
|
||||
}
|
||||
})
|
||||
.use(require("markdown-it-attrs"))
|
||||
.use(require('markdown-it-task-checkbox'), {
|
||||
disabled: true,
|
||||
divWrap: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user