fix: workaround for markdown embedded code highlighting

pull/4564/head
Anthony Fu 7 months ago
parent c2ab5b03a8
commit 0be9c1af12
No known key found for this signature in database
GPG Key ID: 179936958CD423FF

@ -24,6 +24,9 @@ export const shared = defineConfig({
markdown: {
math: true,
// Load these languages ahead of time for embedded code highlighting
// TODO: remove this when Shiki fixes markdown embedded language loading
languages: ['js', 'ts', 'html'],
codeTransformers: [
// We use `[!!code` in demo to prevent transformation, here we revert it back.
{

Loading…
Cancel
Save