See https://pandoc.org/MANUAL.html#pandocs-markdown
Math
一元二次方程求解公式
如果a ≠ 0, 方程 (ax2+bx+c=0) 存在两个解,并且可以通过下面的求根公式直接得到:
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$
不支持 code block math display:
```math
x = {-b \pm \sqrt{b^2-4ac} \over 2a}
```
Footnots,Citation
Here is a simple footnote1.
A footnote can also have multiple lines2.
https://pandoc.org/MANUAL.html#citation-syntax
Code block
data Document = Document
docExt :: Maybe String,
{ docTitle :: Text,
docAuthor :: Maybe Text,
docTags :: Maybe [Text],
docDate :: Maybe Text,
docContent :: Maybe Text,
docPath :: Maybe Text,
docAttrs :: Maybe Value
}deriving (Show, Generic)
deriving (FromJSON, ToJSON) via PrefixedSnake "doc" Document
fenced code attribute
Table
|
| | Sites |
| ---------------------------- | ----------------------------------- | ----------------------------------- |[Github](https://github.com) | [Koka](https://koka-lang.github.io) | [Haskell](https://www.haskell.org/) | |
Alerts (TODO)
[!NOTE]Highlights information that users should take into account, even when skimming.
Quoting text
Text that is not a quote
Text that is a quote
Using emoji (TODO)
@octocat :+1: This PR looks great - it’s ready to merge! :shipit:
Definitions
- Term 1
-
Definition 1
- Term 2 with inline markup
-
Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
https://pandoc.org/MANUAL.html#definition-lists
Task list items
- example1
-
- foo
- bar
- example2
-
- foo
- bar
- baz
- bim
- foo