Mon, 20 Apr 2020 11:48:40 -0500
Support Pandoc rendering
11 | 1 | |
2 | This is a very simple website templating engine based on markdown and Lua, | |
12
5541f9577f27
Bitbucket didn't like <...> around email using HTML, so use Unicode
Tuomo Valkonen <tuomov@liverpool.ac.uk>
parents:
11
diff
changeset
|
3 | written by Tuomo Valkonen 〈<tuomov@iki.fi>〉. |
11 | 4 | |
5 | It is not particularly supported or maintained; it was created back in 2009 | |
13 | 6 | to build [my own website](http://tuomov.iki.fi/). The engine is still being |
16 | 7 | used for that purpose. I decided to put the code online in 2017 after |
13 | 8 | having had to spend some time to convert it to Lua 5.3 from which the |
11 | 9 | module() function had been removed. |
10 | ||
16 | 11 | Features (see the included example): |
12 | ||
13 | * Embedded Lua code within `<% ... %>` with the ltp engine. | |
14 | * Advanced markdown features, including syntax highlighting of code blocks, via Pandoc | |
15 | (select `renderer: pandoc` in the page meta section). | |
16 | ||
17 | Aside from the included `compat_env.lua` and the ltp engine (which is has not | |
11 | 18 | updated to Lua 5.3, and requires on the compat_env module), the code is in |
19 | the public domain. |