Skip to content

Commit

Permalink
Show tag for all languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Eskild Steensen committed Jan 11, 2023
1 parent 55159ed commit 777b8ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ module.exports = function(eleventyConfig) {
})
.use(require("markdown-it-footnote"))
.use(require("markdown-it-attrs"))
.use(require("markdown-it-hashtag"))
.use(require("markdown-it-hashtag"),{
hashtagRegExp: `[^\\s!@#$%^&*()=+.\/,\[{\\]};:'"?><]+`
})
.use(function(md){
md.renderer.rules.hashtag_open = function(tokens, idx) {
return '<a class="tag" onclick="toggleTagSearch(this)">'
Expand Down

0 comments on commit 777b8ff

Please sign in to comment.