This commit is contained in:
parent
daacc4aa49
commit
f68c75ab62
1 changed files with 8 additions and 0 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue