example/src/subpage/index.html.lg

changeset 16
e377590e9b19
parent 10
118ab361da29
child 21
3c71c525cec2
--- a/example/src/subpage/index.html.lg	Wed Jan 31 19:51:10 2018 +0000
+++ b/example/src/subpage/index.html.lg	Mon Apr 20 11:48:40 2020 -0500
@@ -1,5 +1,14 @@
 ---
 title: This is a sub-page of an lgen test page
+renderer: pandoc
 ---
 
-There is no content
+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
+```
+

mercurial