code block line numbers

This commit is contained in:
Joshua Seigler 2025-07-10 23:50:28 -04:00
parent 2766453d75
commit 0226171b58
7 changed files with 159 additions and 99 deletions

29
package-lock.json generated
View file

@ -13,6 +13,7 @@
"@11ty/eleventy-fetch": "^5.1.0",
"@11ty/eleventy-img": "^6.0.4",
"@11ty/eleventy-plugin-rss": "^2.0.4",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.1",
"@11ty/eleventy-plugin-vite": "^6.0.0",
"@mdit/plugin-footnote": "^0.22.0",
"@mdit/plugin-spoiler": "^0.21.0",
@ -25,7 +26,6 @@
"gh-pages": "^6.3.0",
"markdown-it-anchor": "^9.0.1",
"markdown-it-link-attributes": "^4.0.1",
"markdown-it-prism": "^3.0.0",
"pagefind": "^1.3.0",
"vite-plugin-minify": "^2.1.0"
}
@ -230,6 +230,20 @@
"url": "https://opencollective.com/11ty"
}
},
"node_modules/@11ty/eleventy-plugin-syntaxhighlight": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-syntaxhighlight/-/eleventy-plugin-syntaxhighlight-5.0.1.tgz",
"integrity": "sha512-xDPF3Ay38XlmWZe9ER0SLtMmNah7olUBlGORhUiCUkPh3jYGVCDTDayi4tbFI9Dxha8NwKlfBZ2FXM/s3aZzAg==",
"dev": true,
"license": "MIT",
"dependencies": {
"prismjs": "^1.30.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/11ty"
}
},
"node_modules/@11ty/eleventy-plugin-vite": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-vite/-/eleventy-plugin-vite-6.0.0.tgz",
@ -3895,19 +3909,6 @@
"dev": true,
"license": "MIT"
},
"node_modules/markdown-it-prism": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/markdown-it-prism/-/markdown-it-prism-3.0.0.tgz",
"integrity": "sha512-M0LQsbVzjbzufV95nYdtbs99Sm/8f7zLnqFblb5yQZtFTGLM+y6hxMZ8BdujY3FFqVvTbnZ52/uoicQUqZUYbg==",
"dev": true,
"license": "MIT",
"dependencies": {
"prismjs": "1.30.0"
},
"engines": {
"node": ">=20.0.0"
}
},
"node_modules/markdown-it/node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",