Install markdown-it-container plugin

This commit is contained in:
Helen Chong 2024-05-06 21:05:58 +08:00
parent f8ef0ccccc
commit d1af9376e5
4 changed files with 3 additions and 0 deletions

View File

@ -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-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) - [markdown-it-bracketed-spans](https://www.npmjs.com/package/markdown-it-bracketed-spans)
- [markdown-it-container](https://www.npmjs.com/package/markdown-it-container)
- [markdown-it-deflist](https://github.com/markdown-it/markdown-it-deflist) - [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) - [Table of Contents (nesting) Eleventy Plugin](https://www.npmjs.com/package/eleventy-plugin-nesting-toc)

BIN
bun.lockb

Binary file not shown.

View File

@ -82,6 +82,7 @@ module.exports = function (eleventyConfig) {
.use(markdownItAnchor, markdownItAnchorOptions) .use(markdownItAnchor, markdownItAnchorOptions)
.use(require("markdown-it-attrs")) .use(require("markdown-it-attrs"))
.use(require("markdown-it-bracketed-spans")) .use(require("markdown-it-bracketed-spans"))
.use(require("markdown-it-container"))
.use(require("markdown-it-deflist")); .use(require("markdown-it-deflist"));
/* 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 */

View File

@ -23,6 +23,7 @@
"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", "markdown-it-bracketed-spans": "^1.0.1",
"markdown-it-container": "^4.0.0",
"markdown-it-deflist": "^3.0.0", "markdown-it-deflist": "^3.0.0",
"slugify": "^1.6.6" "slugify": "^1.6.6"
} }