Markdown Syntax Basic
Contents
Markdown Basic
italic and bold
use * [text] *
and ** [text] **
to render italic and bold
this is italic, and this is bold.
header
use === for h1,use — for h2
|
|
Use # for (H1-H6),like:# H1, ## H2, ### H3,#### H4。
link
use [text](links)
for links。
this is link to my website
unordered list
use *,+,- for Unordered list
- list 1
- list 2
- list 3
- list 1
- list 2
- list 3
ordered list
use number and .
1. ordered list 1
2. ordered list 2
3. ordered list 3
- ordered list 1
- ordered list 2
- ordered list 3
blockquotes
use > for blockquotes
> someone said
someone said
inline code
use `code` for inline code
it is html
format
code block
use four leading spaces to indicate code block
there is four leading spaces to the lest
image
use ![text](link)
for image
with size restriction or style
<img src="https://i.ytimg.com/vi/B9gjMJ4rTJw/maxresdefault.jpg" alt="drawing" width="200" height="200"/>