使用hexo遇到的问题
2025-08-14  / issue  / hexo

半角标点变成了全角

写作时的英文半角单引号转为HTML后成了中文全角单引号,如果使用的是hexo-renderer-marked,修改_config.yml:

1
2
3
# https://github.com/hexojs/hexo/issues/1981#issuecomment-229309844
marked:
smartypants: false

如果使用的是hexo-renderer-markdown-it-plus,修改_config.

1
2
3
# https://github.com/theme-next/hexo-theme-next/issues/462#issuecomment-435552020
markdown-it-plus:
typographer: false