mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Fallback language for code MFM should be plaintext
This commit is contained in:
parent
d2926e0822
commit
b9435c9ae1
@ -18,7 +18,7 @@ const props = defineProps<{
|
||||
}>();
|
||||
|
||||
const prismLang = computed(() =>
|
||||
Prism.languages[props.lang] ? props.lang : "js",
|
||||
Prism.languages[props.lang] ? props.lang : "plaintext",
|
||||
);
|
||||
const html = computed(() =>
|
||||
Prism.highlight(
|
||||
|
Loading…
Reference in New Issue
Block a user