浏览代码

chore: config add typographer

Drjingfubo 3 年之前
父节点
当前提交
8e3b99307a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      vite.config.ts

+ 1 - 0
vite.config.ts

@@ -55,6 +55,7 @@ export default defineConfig({
       // default options passed to markdown-it
       // default options passed to markdown-it
       // see: https://markdown-it.github.io/markdown-it/
       // see: https://markdown-it.github.io/markdown-it/
       markdownItOptions: {
       markdownItOptions: {
+        typographer: false,
         highlight: function (str, lang) {
         highlight: function (str, lang) {
           if (lang && hljs.getLanguage(lang)) {
           if (lang && hljs.getLanguage(lang)) {
             try {
             try {