add style for PL badges

This commit is contained in:
2025-11-20 17:26:50 +01:00
parent 7f94201212
commit 64bbaac403
2 changed files with 46 additions and 3 deletions

View File

@@ -7,6 +7,19 @@ import djot from "@djot/djot";
const site = lume();
site.filter("lowercasePL", (lang: string) => {
switch (lang) {
case "C++":
return "cpp";
case "C#":
return "csharp";
case "Python 3":
return "python3";
default:
return lang.toLowerCase();
}
});
site.use(nav());
site.use(codeHighlight());