MarkDown編輯使用指南
阿新 • • 發佈:2018-01-26
pan string hal 塊代碼 nim optional tro 鏈接 graphs
MarkDown
Markdown是一種可以使用普通文本編輯器編寫的標記語言,通過簡單的標記語法,它可以使普通文本內容具有一定的格式。
區塊元素
標題title
# h1
## h2
### h3
#### h4
##### h5
###### h6
h1 #h1
h2 ##h2
h3 ###h3
h4 ####h4
h5 #####h5
h6 ######h6
區塊引用 Blockquotes
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
>
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
> id sem consectetuer libero luctus adipiscing.
This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
id sem consectetuer libero luctus adipiscing.
列表list
無序列表
* Red
* Green
* Blue
+ Red
+ Green
+ Blue
- Red
- Green
- Blue
- Red
- Green
- Blue
- Red
- Green
- Blue
- Red
- Green
- Blue
有序列表
1. Bird
2. McHale
3. Parish
- Bird
- McHale
- Parish
分隔線
* * *
***
*****
- - -
---------------------------------------
區段元素
鏈接
This is [github link](https://github.com/ "Title") inline link.
[github link](https://github.com/) has no title attribute.
<http://github.com/>
This is github link inline link.
github link has no title attribute.
http://github.com/
強調
*single asterisks*
_single underscores_
**double asterisks**
__double underscores__
single asterisks
single underscores
double asterisks
double underscores
代碼 code
行內代碼 line code
c lang printf
function
There is a literal backtick (`) here.
塊代碼 block code
```Java
public static void main(String args[]){
System.out.println("Hello World");
}
...
//顯示樣式有問題
public static void main(String args[]){
System.out.println("Hello World");
}
圖片 image
![Alt text](https://avatars1.githubusercontent.com/u/11625343?s=100&v=4)
![Alt text](https://avatars1.githubusercontent.com/u/11625343?s=100&v=4 "Optional title")
常用編輯器
- VSCode
- Atom
- Typora
- Jeatbrains系列IDE插件
文章參考
- https://www.appinn.com/markdown
博客地址
- https://zhangrxiang.github.io/dev-blog/#/
轉載註明出處
MarkDown編輯使用指南