mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 05:17:39 -07:00
Fallback language for code MFM should be plaintext
This commit is contained in:
parent
d2926e0822
commit
b9435c9ae1
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ const props = defineProps<{
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const prismLang = computed(() =>
|
const prismLang = computed(() =>
|
||||||
Prism.languages[props.lang] ? props.lang : "js",
|
Prism.languages[props.lang] ? props.lang : "plaintext",
|
||||||
);
|
);
|
||||||
const html = computed(() =>
|
const html = computed(() =>
|
||||||
Prism.highlight(
|
Prism.highlight(
|
||||||
|
|
Loading…
Reference in a new issue