use catppuccin code styling
All checks were successful
/ web (push) Successful in 25s

This commit is contained in:
Ell 2024-07-20 23:50:02 +02:00
parent 7dc7f46fcf
commit 53819e301e

View file

@ -21,10 +21,10 @@ nav: nav/blognav.html
<link rel="stylesheet" href="/style/book.css">
{% else %}
<script>
let style = dark ? "monokai" : "friendly";
let style = dark ? "mocha" : "latte";
$("head").append($("<link/>", {
rel: "stylesheet",
href: `https://cdn.jsdelivr.net/gh/richleland/pygments-css@master/${style}.css`
href: `https://cdn.jsdelivr.net/gh/catppuccin/python@gh-pages/pygments/catppuccin-${style}.css`
}));
</script>
{% endif %}