Allow slash in tags

This commit is contained in:
Ole Eskild Steensen 2023-01-11 22:55:29 +01:00 committed by GitHub
parent 4dcfeb4e7e
commit 57daed82cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ module.exports = function(eleventyConfig) {
.use(require("markdown-it-footnote"))
.use(require("markdown-it-attrs"))
.use(require("markdown-it-hashtag"),{
hashtagRegExp: `[^\\s!@#$%^&*()=+.\/,\[{\\]};:'"?><]+`
hashtagRegExp: `[^\\s!@#$%^&*()=+.,\[{\\]};:'"?><]+`
})
.use(function(md){
md.renderer.rules.hashtag_open = function(tokens, idx) {