Install markdown-it-bracketed-spans plugin
This commit is contained in:
parent
c493facdb8
commit
75b3a86e45
|
@ -11,6 +11,7 @@ Source code of my personal and hobby website, [Leilukin's Hub](https://leilukin.
|
||||||
- [eleventy-plugin-embed-everything](https://www.npmjs.com/package/eleventy-plugin-embed-everything)
|
- [eleventy-plugin-embed-everything](https://www.npmjs.com/package/eleventy-plugin-embed-everything)
|
||||||
- [markdown-it-anchor](https://www.npmjs.com/package/markdown-it-anchor)
|
- [markdown-it-anchor](https://www.npmjs.com/package/markdown-it-anchor)
|
||||||
- [markdown-it-attrs](https://www.npmjs.com/package/markdown-it-attrs)
|
- [markdown-it-attrs](https://www.npmjs.com/package/markdown-it-attrs)
|
||||||
|
- [markdown-it-bracketed-spans](https://www.npmjs.com/package/markdown-it-bracketed-spans)
|
||||||
- [Table of Contents (nesting) Eleventy Plugin](https://www.npmjs.com/package/eleventy-plugin-nesting-toc)
|
- [Table of Contents (nesting) Eleventy Plugin](https://www.npmjs.com/package/eleventy-plugin-nesting-toc)
|
||||||
|
|
||||||
## Self-hosted Assets
|
## Self-hosted Assets
|
||||||
|
|
|
@ -80,7 +80,8 @@ module.exports = function (eleventyConfig) {
|
||||||
html: true,
|
html: true,
|
||||||
})
|
})
|
||||||
.use(markdownItAnchor, markdownItAnchorOptions)
|
.use(markdownItAnchor, markdownItAnchorOptions)
|
||||||
.use(require("markdown-it-attrs"));
|
.use(require("markdown-it-attrs"))
|
||||||
|
.use(require('markdown-it-bracketed-spans'));
|
||||||
|
|
||||||
/* This is the part that tells 11ty to swap to our custom config */
|
/* This is the part that tells 11ty to swap to our custom config */
|
||||||
eleventyConfig.setLibrary("md", markdownLibrary);
|
eleventyConfig.setLibrary("md", markdownLibrary);
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
"install": "^0.13.0",
|
"install": "^0.13.0",
|
||||||
"markdown-it-anchor": "^8.6.7",
|
"markdown-it-anchor": "^8.6.7",
|
||||||
"markdown-it-attrs": "^4.1.6",
|
"markdown-it-attrs": "^4.1.6",
|
||||||
|
"markdown-it-bracketed-spans": "^1.0.1",
|
||||||
"slugify": "^1.6.6"
|
"slugify": "^1.6.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue