markdown 文法入門
sunshine
使用markdown心得體會:
- markdown特别适合寫部落格,相容部分html标簽,可以高亮顯示代碼。
- 文法簡單好用,而且可以直接導出pdf。
- 各種文法組合,可以寫出簡單優雅的文檔,贊!
-
我是一個引用
-
//接下來是C語言代碼 #include <stdio.h> int main(int argc, char** argv) { printf("Hello world"); return 0; }
- 我是 粗體
- 我是 斜體
- 我是 删除線
- 我是
,inline code
printf("hello world!")
- 我是超連結:GitHub
- 我是圖檔[外鍊圖檔轉存失敗(img-3Fo2kafm-1565321139260)(https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png “I am a github cat! miao~”)]
- 我是
:ordered
- Item 1
- Item 2
- Item 3
- Item 3a
- Item 3b
- 我是
unordered
- Item 1
- Item 2
- Item 2a
- Item 2b
- 我是
taskList
- coding task
- running task
- other task
- other task
- 我是
table
First Header Second Header hello world welcome you left center right hello world language welcome you c/c++ - 我要跳轉到 top,我要跳轉到 title,我要跳轉到c語言代碼
-
code above
<span id='top'></span>
### <span id = 'title'> <center> markdown 文法入門</center> </span>
<p align='right'> sunshine </p>
---
1. >我是一個引用
1. <span id='code'></span>
\```c
//接下來是C語言代碼
#include <stdio.h>
int main(int argc, char** argv)
{
printf("Hello world");
return 0;
}
\```
1. 我是 **粗體**
1. 我是 *斜體*
1. 我是 ~~删除線~~
1. 我是 `inline code`,`printf("hello world!")`
1. 我是超連結:[GitHub](http://github.com "press me")
1. 我是圖檔![picture](https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png "I am a github cat! miao~")
1. 我是`ordered`:
1. Item 1
1. Item 2
1. Item 3
1. Item 3a
1. Item 3b
1. 我是`unordered`
* Item 1
* Item 2
* Item 2a
* Item 2b
1. 我是 `taskList`
- [x] coding task
- [x] running task
- [ ] other task
- [ ] other task
1. 我是`table`
First Header | Second Header
------------ | -------------
<center>hello</center>| world
**welcome** | <center>*you*<center>
left | center | right
:--- | :---:|---:
hello| world | language
**welcome** | <center>*you*<center> | c/c++
1. 我要跳轉到 [top](#top),我要跳轉到 [title](#title),我要跳轉到[c語言代碼](#code)
<span id='end'> </span>