行则将至

人生在勤,不索何获

0%

Obsidian+Hexo Markdown 测试

双链测试

test_note1

test_note2

test_note2

Markdown 示例

Markdown简易入门教程
使用方式:打开 Source Mode 就可以看到所有markdown格式,照着来用就行了    

标题

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 标题一  

## 标题二


### 标题三


#### 标题四


##### 标题五


###### 标题六

文本

粗体

引用

中划线

下划线


三空格+换行=换行  

斜体

斜体加粗体

常用markdown标记?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

**粗体**

> 引用

~~中划线~~

<u>下划线</u>

---

三空格+换行=换行  

*斜体*

***斜体加粗体***

段落

链接

链接
ide-eval-resetter.zip

1
2
[链接](链接地址)  
[[obsidian双链]]

图片

image.png

1
2
3
![](远程图片地址)
![[obsidian 图片]]
![](obsidian 本地图片名字)

代码

1
2
3
4
5
public class HelloWord{
public static void main(String[] args){
System.out.println("HelloWord");
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{  
  "sites": {
    "site": [
      {
        "id": "1",
        "name": "github",
        "url": "https://github.com/"
      },
      {
        "id": "2",
        "name": "google",
        "url": "http://google.com/"
      },
      {
        "id": "3",
        "name": "stackoverflow",
        "url": "https://stackoverflow.com/"
      }
    ]
  }
}
{"sites":{"site":[{"id":"1","name":"github","url":"https://github.com/"},{"id":"2","name":"google","url":"http://google.com/"},{"id":"3","name":"stackoverflow","url":"https://stackoverflow.com/"}]}}

表格

标题1 标题2
行 1 列 1 行 1 列 2
行 2 列 1 行 2 列 2

markdown 表格标记

1
2
3
4
| 标题1     | 标题2     |
| --------- | --------- |
| 行 1 列 1 | 行 1 列 2 |
| 行 2 列 1 | 行 2 列 2 |

公式

数学公式

1
$y = x^2$
\(y=x^2\)

注: Latex语法参考常用 LaTeX 公式符号

列表

无序

  • 普通序列
    • 1
      • a
      • b
      • c
    • 2
    • 3
  • 普通序列
  • 普通序列
  • 普通序列

有序

  1. 数字序列
  2. 数字序列
  3. 数字序列
  4. 数字序列

混合

  • 混合序列
    • 混合序列
    • 混合序列
    • 混合序列
    • 混合序列
  • 混合序列
  • 混合序列
    1. 混合序列
    2. 混合序列
    3. 混合序列
    4. 混合序列
  • 混合序列

任务

任务列表

  • 未完成
  • 已完成
    1
    2
    - [ ] 未完成   
    - [x] 已完成

图表

mermaid 流程图

1
2
3
graph LR
A-->B
B-->c
graph LR
A-->B
B-->c

mermaid 顺序图

1
2
3
sequenceDiagram
A->>B: How are you?
B->>A: Great!
sequenceDiagram
A->>B: How are you?
B->>A: Great!

mermaid 甘特图

1
2
3
4
5
6
7
8
9
10
11
gantt
dateFormat YYYY-MM-DD

section S1
T1: 2014-01-01, 3d

section S2
T2: 2014-01-11, 6d

section S3
T3: 2014-01-02, 9d
gantt
dateFormat YYYY-MM-DD

section S1
T1: 2014-01-01, 3d

section S2
T2: 2014-01-11, 6d

section S3
T3: 2014-01-02, 9d

注脚

1
2
3
Here is a simple footnote[^1].

[^1]: My reference.

Here is a simple footnote1.

A footnote can also have multiple lines2.

You can also use words, to fit your writing style more closely3.

Backlinks:


  1. My reference.↩︎

  2. Every new line should be prefixed with 2 spaces.
    This allows you to have a footnote with multiple lines.↩︎

  3. Named footnotes will still render with numbers instead of the text but allow easier identification and linking.
    This footnote also has been made with a different syntax using 4 spaces for new lines.↩︎