mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
shikiCodeblocks: transform lang to lower case to avoid failing detection (#1990)
This commit is contained in:
parent
0906e4a3f1
commit
dd818fab09
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export default definePlugin({
|
|||
createHighlighter,
|
||||
renderHighlighter: ({ lang, content }: { lang: string; content: string; }) => {
|
||||
return createHighlighter({
|
||||
lang,
|
||||
lang: lang?.toLowerCase(),
|
||||
content,
|
||||
isPreview: false,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue