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