Open HCPlantern opened 1 month ago
希望能够简化 admonition 的语法,或者提供另一个语法选择。
现在的语法:
{{< admonition tip "This is a tip" false >}} 一个 **技巧** 横幅 {{< /admonition >}}
希望能够提供的语法:
> [!tip]- This is a tip > 一个 **技巧** 横幅
可以参考 Obsidian 的 callout 语法:https://help.obsidian.md/Editing+and+formatting/Callouts
Github 目前也已支持这种语法,见 https://github.com/orgs/community/discussions/16925
Describe the feature you want 描述你的功能需求
希望能够简化 admonition 的语法,或者提供另一个语法选择。
现在的语法:
希望能够提供的语法:
Useful reference 有价值的参考
可以参考 Obsidian 的 callout 语法:https://help.obsidian.md/Editing+and+formatting/Callouts
Github 目前也已支持这种语法,见 https://github.com/orgs/community/discussions/16925