Fri, 17 Jul 2020 10:00:47 -0500
Support loading TEMPLATE_PATH/katex_config.json.
10
118ab361da29
Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
|
1 | --- |
118ab361da29
Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
|
2 | title: This is a sub-page of an lgen test page |
21
3c71c525cec2
Use markdown-it as default markdown parser.
Tuomo Valkonen <tuomov@iki.fi>
parents:
16
diff
changeset
|
3 | renderer: markdown-it |
10
118ab361da29
Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
|
4 | --- |
118ab361da29
Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
|
5 | |
16 | 6 | With the pandoc-renderer in this page, we can use GitHub-flavoured markdown, |
7 | including syntax highlighting | |
8 | ||
9 | ```lua | |
10 | if math.random() > 0.5 | |
11 | io.write('Hello World') | |
12 | end | |
13 | ``` | |
14 | ||
21
3c71c525cec2
Use markdown-it as default markdown parser.
Tuomo Valkonen <tuomov@iki.fi>
parents:
16
diff
changeset
|
15 | We can also do math $x^2$ with KaTeX |
3c71c525cec2
Use markdown-it as default markdown parser.
Tuomo Valkonen <tuomov@iki.fi>
parents:
16
diff
changeset
|
16 | $$ |
3c71c525cec2
Use markdown-it as default markdown parser.
Tuomo Valkonen <tuomov@iki.fi>
parents:
16
diff
changeset
|
17 | \sum_{k=1}^\infty \frac{1}{k} = \infty. |
3c71c525cec2
Use markdown-it as default markdown parser.
Tuomo Valkonen <tuomov@iki.fi>
parents:
16
diff
changeset
|
18 | $$ |