0%

解决hexo英文单引被转换中文右单引号

Hexo的markdown解析器会把英文的单(双)引号都自动转换成中文的单(双)引号,请问如何避免?

直接编辑根目录下'_config.yml'增加或者修改为如下内容:

1
2
marked:
smartypants: false

参考:

https://www.zhihu.com/question/285274130

https://github.com/theme-next/hexo-theme-next/issues/462

https://blog.csdn.net/qq_32767041/article/details/103285147