Install markdown-it-attribution plugin

This commit is contained in:
Helen Chong 2024-05-09 20:12:22 +08:00
parent 3731fb1c6b
commit 80e024afdd
4 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ Source code of my personal and hobby website, [Leilukin's Hub](https://leilukin.
- [eleventy-plugin-metagen](https://www.npmjs.com/package/eleventy-plugin-metagen) - [eleventy-plugin-metagen](https://www.npmjs.com/package/eleventy-plugin-metagen)
- [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-attribution](https://www.npmjs.com/package/markdown-it-attribution)
- [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-deflist](https://github.com/markdown-it/markdown-it-deflist) - [markdown-it-deflist](https://github.com/markdown-it/markdown-it-deflist)

BIN
bun.lockb

Binary file not shown.

View File

@ -68,6 +68,7 @@ module.exports = function (eleventyConfig) {
html: true, html: true,
}) })
.use(markdownItAnchor, markdownItAnchorOptions) .use(markdownItAnchor, markdownItAnchorOptions)
.use(require("markdown-it-attribution"))
.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-deflist")); .use(require("markdown-it-deflist"));

View File

@ -21,6 +21,7 @@
"eleventy-plugin-nesting-toc": "^1.3.0", "eleventy-plugin-nesting-toc": "^1.3.0",
"install": "^0.13.0", "install": "^0.13.0",
"markdown-it-anchor": "^8.6.7", "markdown-it-anchor": "^8.6.7",
"markdown-it-attribution": "^0.1.4",
"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-deflist": "^3.0.0", "markdown-it-deflist": "^3.0.0",