Closed immyw closed 2 months ago
换行
无法换行
{% label @ipsum %} Lorem {% label primary@dolor sit %} amet, consectetur {% label success@adipiscing elit, %} sed {% label info@do eiusmod %} tempor incididunt ut labore et dolore magna aliqua. {% label @ipsum %} Lorem {% label primary@dolor sit %} amet, consectetur {% label success@adipiscing elit, %} sed {% label info@do eiusmod %} tempor incididunt ut labore et dolore magna aliqua.
生成的结果
发现如果在开头使用 label 标签外挂, 生成的 文字不是 p 标签包住。这样就导致两段文字都是 开头使用 label 标签外挂,没有换行
v20.8.0 9.8.0
+-- hexo-generator-archive@2.0.0 +-- hexo-generator-category@2.0.0 +-- hexo-generator-index@3.0.0 +-- hexo-generator-tag@2.0.0 +-- hexo-renderer-ejs@2.0.0 +-- hexo-renderer-marked@6.1.1 +-- hexo-renderer-stylus@3.0.0 +-- hexo-server@3.0.0 +-- hexo-theme-landscape@1.0.0 +-- hexo-theme-next@8.18.1 `-- hexo@6.3.0
初始版本
No response
Thanks for opening this issue, maintainers will get back to you as soon as possible!
这个是 Hexo 原理限制,主题无法解决
这个 Issue 我先关了,可以加入 Hexo 那边的讨论: https://github.com/hexojs/hexo/issues/5309
Issue Checklist
Expected behavior
换行
Actual behavior
无法换行
Steps to reproduce the behavior
生成的结果
发现如果在开头使用 label 标签外挂, 生成的 文字不是 p 标签包住。这样就导致两段文字都是 开头使用 label 标签外挂,没有换行
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
NexT Configuration
Other Information
No response