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