example/src/subpage/index.html.lg

Mon, 06 Jul 2020 10:56:23 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 06 Jul 2020 10:56:23 -0500
changeset 21
3c71c525cec2
parent 16
e377590e9b19
permissions
-rw-r--r--

Use markdown-it as default markdown parser.

---
title: This is a sub-page of an lgen test page
renderer: markdown-it
---

With the pandoc-renderer in this page, we can use GitHub-flavoured markdown,
including syntax highlighting

```lua
if math.random() > 0.5
    io.write('Hello World')
end
```

We can also do math $x^2$ with KaTeX
$$
    \sum_{k=1}^\infty \frac{1}{k} = \infty.
$$

mercurial