example/src/subpage/index.html.lg

Wed, 08 Dec 2021 23:32:16 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 08 Dec 2021 23:32:16 +0200
changeset 40
458b3ce6e2f2
parent 21
3c71c525cec2
permissions
-rw-r--r--

highlight.js changes update

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