anzhiyu-c / hexo-theme-anzhiyu

安知鱼主题,这是一个简洁美丽的hexo主题。
GNU General Public License v3.0
1.02k stars 156 forks source link

[Feature]: 是否可以在官方文档中补充一下关于 note 配置的使用 #197

Closed panxsz closed 4 months ago

panxsz commented 4 months ago

以下配置我该如何在我的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 commented 4 months ago

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

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