foam-template/docs/how-to/write-notes-in-foam.md
2021-12-08 23:05:22 +08:00

69 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 写笔记
笔记是带有一些额外风味的简单文本文件,采用 Markdown 语法的形式并支持额外的属性(请参阅 [[笔记属性]])。
## Foam 语法
Foam 使用标准 Markdown并添加了一些改动
- 注释的标题(例如在 [[Graph目录可视化]] 中)由优先级给出,基于:
- `title` 属性(见 [[笔记属性]]
- 文件的第一个 `# 一级标题`
- 文件名
## Markdown 语法
使用 Markdown我们可以用一种简单的方式来设计我们的笔记同时将文档保持为一个简单的文本文件这是让你的作品面向未来的最佳方式
你可以通过运行`Markdown: Open Preview to the Side`命令来查看格式化的输出。
这是 Markdown 的高级概述,有关 Markdown 语法的更多信息 [请参阅此处](https://commonmark.org/help/)。
# 一级标题
## 二级标题
### 三级标题
#### 四级标题
##### 五级标题
###### 六级标题
这是一个[谷歌链接](https://www.google.com).
这是 [[笔记属性]] 的维基链接(又名内部链接)。
这是一张图片:
![图片](../attachments/foam-icon.png)
> 这是块引用
> 它可以跨越多行
- 项目清单
- 项目清单
- 项目清单
1. One
2. Two
3. Three
这段文字是**粗体**,这是*斜体*。
下面是一条水平线
---
这是一张表格:
| Column 1 | Column 2 |
| -------- | -------- |
| R1C1 | R1C2 |
| R2C1 | R2C2 |
你可以'内联代码'或
```text
你可以创造
代码块
```