mirror of
https://github.com/russross/blackfriday.git
synced 2024-03-22 13:40:34 +08:00
README: Add 'Definition lists' and 'Footnotes'
This commit is contained in:
parent
a18a46c9b9
commit
6a7bd0d6e9
19
README.md
19
README.md
|
@ -169,6 +169,25 @@ implements the following extensions:
|
||||||
You can use 3 or more backticks to mark the beginning of the
|
You can use 3 or more backticks to mark the beginning of the
|
||||||
block, and the same number to mark the end of the block.
|
block, and the same number to mark the end of the block.
|
||||||
|
|
||||||
|
* **Definition lists**. A simple definition list is made of a single-line
|
||||||
|
term followed by a colon and the definition for that term.
|
||||||
|
|
||||||
|
Cat
|
||||||
|
: Fluffy animal everyone likes
|
||||||
|
|
||||||
|
Internet
|
||||||
|
: Vector of transmission for pictures of cats
|
||||||
|
|
||||||
|
Terms must be separated from the previous definition by a blank line.
|
||||||
|
|
||||||
|
* **Footnotes**. A marker in the text that will become a superscript number;
|
||||||
|
a footnote definition that will be placed in a list of footnotes at the
|
||||||
|
end of the document. A footnote looks like this:
|
||||||
|
|
||||||
|
This is a footnote.[^1]
|
||||||
|
|
||||||
|
[^1]: the footnote text.
|
||||||
|
|
||||||
* **Autolinking**. Blackfriday can find URLs that have not been
|
* **Autolinking**. Blackfriday can find URLs that have not been
|
||||||
explicitly marked as links and turn them into links.
|
explicitly marked as links and turn them into links.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user