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]: 是否可以在官方文档中补充一下关于 note 配置的使用 #197

Closed
panxsz opened this issue Jan 31, 2024 · 2 comments

Comments

@panxsz
Copy link

panxsz commented Jan 31, 2024

以下配置我该如何在我的md 文件中使用

note:
  # Note tag style values:
  #  - simple    bs-callout old alert style. Default.
  #  - modern    bs-callout new (v2-v3) alert style.
  #  - flat      flat callout style with background, like on Mozilla or StackOverflow.
  #  - disabled  disable all CSS styles import of note tag.
  style: flat
  icons: true
  border_radius: 3
  # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
  # Offset also applied to label tag variables. This option can work with disabled note tag.
  light_bg_offset: 0

或者 如何书写成这种样式
微信截图_20240131232645

@panxsz
Copy link
Author

panxsz commented Jan 31, 2024

已经从butterfly 中找到具体的书写格式。
emmm, 建议补充进官方文档中。

{% note warning flat %} warning 信息 {% endnote %}

@panxsz panxsz closed this as completed Jan 31, 2024
@CX330Blake
Copy link

作者有补充在自己的博客上,希望有帮助 https://blog.anheyu.com/posts/d50a.html

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