mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 04:35:20 +00:00
Fix issue where markdown-it-attrs would be rendered as tags
This commit is contained in:
parent
63dca03db5
commit
cca486c7dc
@ -16,8 +16,9 @@ module.exports = function(eleventyConfig) {
|
||||
})
|
||||
.use(require("markdown-it-footnote"))
|
||||
.use(require("markdown-it-attrs"))
|
||||
.use(require("markdown-it-hashtag"),{
|
||||
hashtagRegExp: `[^\\s!@#$%^&*()=+.,\[{\\]};:'"?><]+`
|
||||
.use(require("markdown-it-hashtag"), {
|
||||
hashtagRegExp: `[^\\s!@\\#\\$%\\^&\\*\\(\\)=\\+\\.,\\[\\{\\]\\};:'"\\?><]+`,
|
||||
preceding: "^|\\s\\{",
|
||||
})
|
||||
.use(function(md){
|
||||
md.renderer.rules.hashtag_open = function(tokens, idx) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user