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

[FEATURE] Add support for simpler admonition sytax #879

Open
HCPlantern opened this issue Aug 15, 2024 · 0 comments
Open

[FEATURE] Add support for simpler admonition sytax #879

HCPlantern opened this issue Aug 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@HCPlantern
Copy link

Describe the feature you want 描述你的功能需求

希望能够简化 admonition 的语法,或者提供另一个语法选择。

现在的语法:

{{< admonition tip "This is a tip" false >}}
一个 **技巧** 横幅
{{< /admonition >}}

希望能够提供的语法:

> [!tip]- This is a tip
> 一个 **技巧** 横幅

Useful reference 有价值的参考

可以参考 Obsidian 的 callout 语法:https://help.obsidian.md/Editing+and+formatting/Callouts

Github 目前也已支持这种语法,见 https://github.com/orgs/community/discussions/16925

@HCPlantern HCPlantern added the enhancement New feature or request label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant