example/src/subpage/index.html.lg

changeset 21
3c71c525cec2
parent 16
e377590e9b19
equal deleted inserted replaced
20:3b937ef20faa 21:3c71c525cec2
1 --- 1 ---
2 title: This is a sub-page of an lgen test page 2 title: This is a sub-page of an lgen test page
3 renderer: pandoc 3 renderer: markdown-it
4 --- 4 ---
5 5
6 With the pandoc-renderer in this page, we can use GitHub-flavoured markdown, 6 With the pandoc-renderer in this page, we can use GitHub-flavoured markdown,
7 including syntax highlighting 7 including syntax highlighting
8 8
10 if math.random() > 0.5 10 if math.random() > 0.5
11 io.write('Hello World') 11 io.write('Hello World')
12 end 12 end
13 ``` 13 ```
14 14
15 We can also do math $x^2$ with KaTeX
16 $$
17 \sum_{k=1}^\infty \frac{1}{k} = \infty.
18 $$

mercurial