fix markdown mode default (#2991)
* fix markdown mode default * Update config.ts
This commit is contained in:
parent
bffc212825
commit
8425347cd5
1 changed files with 3 additions and 1 deletions
|
@ -146,7 +146,9 @@ export const AstroConfigSchema = z.object({
|
|||
mode: z
|
||||
.union([z.literal('md'), z.literal('mdx')])
|
||||
.optional()
|
||||
.default('md'),
|
||||
// NOTE: "mdx" allows us to parse/compile Astro components in markdown.
|
||||
// TODO: This should probably be updated to something more like "md" | "astro"
|
||||
.default('mdx'),
|
||||
syntaxHighlight: z
|
||||
.union([z.literal('shiki'), z.literal('prism'), z.literal(false)])
|
||||
.optional()
|
||||
|
|
Loading…
Reference in a new issue