Add aliases
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-04-24 16:47:38 +02:00
parent daacc4aa49
commit f68c75ab62
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -5,5 +5,13 @@ window.addEventListener("load", () => {
});
hljs.addPlugin(new CopyButtonPlugin());
const aliases = {
bash: ["fish"],
};
for (const lang in aliases) {
hljs.registerAliases(aliases[lang], { languageName: lang });
}
hljs.highlightAll();
});