在 Eastwind Blogger 的更新记录 一文中我记录道:在 v2.3.0 版本引入了对 Obsidian 特殊的 Callout 语法的兼容,并且支持所有 Obsidian 内置的 callout 样式。
这里稍作展示,完整信息请参阅 Obsidian 支持文档 Callouts - Obsidian Help。如果您对 Eastwind Blogger 感兴趣,不妨看看这个 Rust 编写的开源程序 Docker Blogger (注: 第一版本由 Python 3 实现,第二个版本重构并完全使用 Rust 实现)。
需要注意的是,目前暂不支持可折叠和自定义 callout。
[!note] Note 类型 (缺省) 默认情况下会采用
note模式渲染。
[!abstract] Abstract 类型 另有
summary和tldr。
[!info] Info 类型 常用类型之一。
[!todo] Todo 类型 常用类型之一。
[!hint] Tip 类型 另有
hint,important。
[!check] Success 类型 另有
check,done。
[!faq] Question 类型 另有
help,faq。
[!warning] Warning 类型 另有
caution,attention。
[!failure] Failure 类型 另有
fail,missing。
[!danger] Danger 类型 另有
error。
[!bug] Bug 类型 可用于代码段标注。
[!example] Example 类型 用于举例说明。
[!cite] Quote 类型 另有
cite。
嵌套 Callouts 举例:
[!example] 外层 Callout 这里是最外层的 Callout。
[!tip] 中层 Callout 这里是中间的一层 Callout。
[!note] 内层 Callout 这是内部的内容。