Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note 标签正文支持解析   #409

Open
2 of 3 tasks
Colsrch opened this issue Mar 12, 2024 · 1 comment
Open
2 of 3 tasks

Note 标签正文支持解析   #409

Colsrch opened this issue Mar 12, 2024 · 1 comment

Comments

@Colsrch
Copy link

Colsrch commented Mar 12, 2024

检查清单

  • 已经阅读过 官方文档 相关内容,并尝试进行搜索。
  • 尝试过在本地测试运行官方 demo 源码。
  • 尝试过在 Codespace 中测试运行官方 demo 源码。

问题描述

目前 Note 标签只有在拥有标题时,正文中的空格才能被正确解析,然而大部分情况下,可能并不需要标题,此时正文如果需要添加空格就必须拥有标题。因此建议正文也加入 解析功能
{% note Hello World %}

@weekdaycare
Copy link
Contributor

我觉得你说的应该更加近似于box标签,box标签可以不用设置title

{% box %}
Hello World
{% endbox %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants