Markdown语法参考
本帖最后由 alterem 于 2020-2-24 16:26 编辑Standard MarkdownStrong and Emphasize
[*]*emphasize* **strong**
[*]_emphasize_ __strong__
Links and EmailInline:
[*]An [example](http://url.com/ "Title")
Reference-style labels (titles are optional):
[*]
[*]An [example][id]. Then, anywhere
[*]else in the doc, define the link:
[*]
[*][id]: http://example.com/"Title"
Email:
[*]An email <example@example.com> link.
ImagesInline (titles are optional):
[*]![alt text](/path/img.jpg "Title")
Reference-style:
[*]![alt text][id
[*]
[*][id]: /url/to/img.jpg "Title"
Headers
[*]Setext-style:
[*]
[*]Header 1
[*]========
[*]
[*]Header 2
[*]--------
atx-style (closing #’s are optional):
[*]# Header 1 #
[*]
[*]## Header 2 ##
[*]
[*]###### Header 6
ListsOrdered, without paragraphs:
[*]1.Foo
[*]2.Bar
Unordered, with paragraphs:
[*]* A list item.
[*]
[*] With multiple paragraphs.
[*]
[*]* Bar
You can nest them:
[*]* Abacus
[*] * answer
[*]* Bubbles
[*] 1.bunk
[*] 2.bupkis
[*] * BELITTLER
[*] 3. burper
[*]* Cunning
Blockquotes
[*]> Email-style angle brackets
[*]> are used for blockquotes.
[*]
[*]> > And, they can be nested.
[*]
[*]> #### Headers in blockquotes
[*]>
[*]> * You can quote a list.
[*]> * Etc.
Inline Code
[*]`<code>` spans are delimited
[*]by backticks.
[*]
[*]You can include literal backticks
[*]like `` `this` ``.
Block CodeIndent every line of a code block by at least 4 spaces or 1 tab.
[*]This is a normal paragraph.
[*]
[*] This is a preformatted
[*] code block.
Horizontal RulesThree or more dashes or asterisks:
[*]---
[*]
[*]* * *
[*]
[*]- - - -
Hard Line BreaksEnd a line with two or more spaces:
[*]Roses are red,
[*]Violets are blue.
66666666666666
页:
[1]