mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
Integrates @11ty/eleventy-plugin-syntaxhighlight (PrismJS) for build-time syntax highlighting of fenced code blocks. Includes a custom GitHub-inspired theme with dark mode support (.dark class). All existing articles with triple-backtick code blocks will automatically get highlighting on next Eleventy rebuild. Also fixes overflow-x: hidden on .prose/.e-content that was clipping scrollable code blocks — changed to overflow-x: clip. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"name": "indiekit-eleventy-theme",
|
|
"version": "1.0.0",
|
|
"description": "Eleventy theme for Indiekit — IndieWeb-ready personal website",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "eleventy",
|
|
"dev": "eleventy --serve --watch",
|
|
"build:css": "postcss css/tailwind.css -o css/style.css"
|
|
},
|
|
"dependencies": {
|
|
"@11ty/eleventy": "^3.0.0",
|
|
"@11ty/eleventy-fetch": "^4.0.1",
|
|
"@11ty/eleventy-img": "^6.0.0",
|
|
"@11ty/eleventy-plugin-rss": "^2.0.2",
|
|
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.2",
|
|
"@atproto/api": "^0.12.0",
|
|
"@chrisburnell/eleventy-cache-webmentions": "^2.2.7",
|
|
"@quasibit/eleventy-plugin-sitemap": "^2.2.0",
|
|
"eleventy-plugin-embed-everything": "^1.21.0",
|
|
"html-minifier-terser": "^7.0.0",
|
|
"markdown-it": "^14.0.0",
|
|
"pagefind": "^1.3.0",
|
|
"rss-parser": "^3.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/typography": "^0.5.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"postcss": "^8.4.0",
|
|
"postcss-cli": "^11.0.0",
|
|
"tailwindcss": "^3.4.0"
|
|
}
|
|
}
|