From c6e6f17cb7965da8d75711bc1d6e1fe36e7b7005 Mon Sep 17 00:00:00 2001 From: aisen60 Date: Thu, 7 Oct 2021 09:55:24 +0800 Subject: [PATCH] fix(@vant/cli): set typographer to false for markdownItOptions (#9627) --- packages/vant-cli/src/config/vite.site.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vant-cli/src/config/vite.site.ts b/packages/vant-cli/src/config/vite.site.ts index aa72f1167..76b2e0bf9 100644 --- a/packages/vant-cli/src/config/vite.site.ts +++ b/packages/vant-cli/src/config/vite.site.ts @@ -113,6 +113,7 @@ export function getViteConfigForSiteDev(): InlineConfig { after: markdownCardWrapper, }, markdownItOptions: { + typographer: false, // https://markdown-it.github.io/markdown-it/#MarkdownIt highlight: markdownHighlight, }, markdownItSetup(md: MarkdownIt) {