example/src/subpage/index.html.lg

Sun, 06 Aug 2023 21:12:43 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 06 Aug 2023 21:12:43 +0300
changeset 43
20606bf1a6a0
parent 21
3c71c525cec2
permissions
-rw-r--r--

Load markdown-it-container

---
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