add codeblock highlighting, honestly a lot of stuff was changed, iceshrimp and sharkey updates + tips
All checks were successful
/ build (push) Successful in 3m22s

This commit is contained in:
Ruben 2025-07-01 23:18:31 -05:00
commit ecd3a73aaa
No known key found for this signature in database
GPG key ID: 8EA836555FB6D9A5
14 changed files with 392 additions and 87 deletions

View file

@ -2,13 +2,14 @@ import { minify } from "terser";
import { transform } from "lightningcss";
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
import pluginFilters from "./_config/filters.js";
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
export default function(eleventyConfig) {
eleventyConfig.addPassthroughCopy("assets/");
eleventyConfig.addPassthroughCopy({ "sneexy/notebook/": "~sneexy/notebook/" }); // notebook page generated by quartz seperately - see https://forged.synth.download/sneexy/notebook
// our custom filters
eleventyConfig.addPlugin(eleventyNavigationPlugin);
eleventyConfig.addPlugin(pluginFilters);
eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.addPassthroughCopy("assets/");
eleventyConfig.addFilter("cssmin", function (code) {
const result = transform({
@ -22,6 +23,4 @@ export default function(eleventyConfig) {
const minified = await minify(code);
return minified.code;
});
eleventyConfig.addPlugin(eleventyNavigationPlugin);
};