diff --git a/components/content/ContentCode.vue b/components/content/ContentCode.vue index b0647f53c..4ffc9bc78 100644 --- a/components/content/ContentCode.vue +++ b/components/content/ContentCode.vue @@ -12,11 +12,11 @@ const langMap: Record = { vue: 'html', } -const hightlighted = computed(() => { +const highlighted = computed(() => { return props.lang ? highlightCode(raw, langMap[props.lang] || props.lang as any) : raw })