fi3ework / hexo-theme-archer

🎯 A smart and modern theme for Hexo.
https://fi3ework.github.io/hexo-theme-archer
MIT License
1.52k stars 273 forks source link

请问为何  等不起作用,是直接显示出来的? #336

Closed CyanStudio closed 2 years ago

LolipopJ commented 2 years ago

写在博客文档的 Markdown 文件里的吗?解析器在处理 Markdown 文本时不会像浏览器一样转义 &ensp; 这类字符,而是直接作为字符串显示出来。考虑使用 html 标签如 <span style="margin-left: 5px" /> 来实现空格效果。

我这里测试是能正确识别 &ensp; 字符的哇……

CyanStudio commented 2 years ago

是写在_posts下Markdown文件里的,不过确实不起作用,只能用html标签试试了。

换成markdown-it-plus之后好了