Note
这里是 Obsidian 的使用语法示例。
一级标题
二级标题
列表
- 无序列表
- 加粗
- 斜体
- 高亮
- 斜体
- 加粗
数学公式块
行内数学公式:
注释
这里是行内注释:
这里是跨行注释:
引用
路漫漫其修远兮,吾将上下而求索。——《离骚》
换行
- 小换行(两个空格 + 回车):在行末添加两个空格,然后按下回车键,这样可以在预览模式中实现换行效果。
- 中换行(两个回车)
- 大换行(连续换行):使用
<br>标签
示例:
test 小换行
test 小换行
test 中换行
test 中换行
test 大换行
test 大换行
代码块
#include <iostrean>
using namespace std;
int main(){
cout<<"Hello World!"<<endl;
return 0;
}图表
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!
表格
| 标题 1 | 标题 2 | |
|---|---|---|
| 内容 | Xxx | |
| 1 | ||
| 2 | ||
| 3 |
脚注
H 脚注的用法很简单,只需要在段落中需要插入脚注的地方标注一个符号,再在段落后对这个符号进行解释即可。比如这是一个简单的脚注1,这是一个长一些的脚注。2
嵌入图片
缺点是无法通过 html&css 标签居中,但可以通过 Obsidian 插件
Mousewheel Image zoom调节图片大小
![]()
Callout 块
关键词大小写都可以,通过
CMenu插件快速唤出标注后,点击鼠标右键可直接选择标注类型
Info
Contents
Note
Contents
Abstract
Contents
Todo
Contents
Tip
Contents
Success
Contents
Question
Contents
Waring
Contents
Failure
Contents
Danger
Contents
Bug
Contents
Example
Contents
Can callouts be nested?
Yes!, they can. And collapsed!
Example
You can even use multiple layers of nesting.
Quote
Contents
Cite
Contents