Obsidian语法技巧

引用

语法

> [!<type>] title
> ....
> ....

type 可用选项如下,大写小写都可

> [!note]
Note
> [!seealso]
Seealso
> [!abstract]
Abstract
> [!summary]
Summary
> [!tldr]
Tldr
> [!info]
Info
> [!todo]
Todo
> [!tip]
Tip
> [!hint]
Hint
> [!important]
Important
> [!success]
Success
> [!check]
Check
> [!done]
Done
> [!question]
Question
> [!help]
Help
> [!faq]
Faq
> [!warning]
Warning
> [!caution]
Caution
> [!attention]
Attention
> [!failure]
Failure
> [!fail]
Fail
> [!missing]
Missing
> [!danger]
Danger
> [!error]
Error
> [!bug]
Bug
> [!example]
Example
> [!quote]
Quote
> [!cite]
Cite

折叠

默认打开折叠的

> [!NOTE]+ 打开折叠的
> 被折叠/显示的内容
打开折叠的

被折叠/显示的内容

默认关闭折叠的

> [!FAQ]- 关闭折叠的
> 被折叠/显示的内容

嵌套标注

> [!TIP] Nested callouts
> Text inside the tip callout
> > [!EXAMPLE] Inner callout
> > Multiple nesting layers
> > > [!TODO] Inner inner callout
Nested callouts

Text inside the tip callout

Inner callout

Multiple nesting layers

Inner inner callout

序列

## Basic
- [ ] to-do
- [/] incomplete
- [x] done
- [-] canceled
- [>] forwarded
- [<] scheduling

## Extras
- [?] question
- [!] important
- [*] star
- ["] quote
- [l] location
- [b] bookmark
- [i] information
- [S] savings
- [I] idea
- [p] pros
- [c] cons
- [f] fire
- [k] key
- [w] win
- [u] up
- [d] down
- [D] draft pull request
- [P] open pull request
- [M] merged pull request

Basic

Extras