README.md

Mon, 20 Apr 2020 11:48:40 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 20 Apr 2020 11:48:40 -0500
changeset 16
e377590e9b19
parent 13
5886bf51708b
child 18
30b9b7402f94
permissions
-rw-r--r--

Support Pandoc rendering

11
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
1
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
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
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
5 It is not particularly supported or maintained; it was created back in 2009
13
5886bf51708b README typofixes etc.
Tuomo Valkonen <tuomov@iki.fi>
parents: 12
diff changeset
6 to build [my own website](http://tuomov.iki.fi/). The engine is still being
16
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
7 used for that purpose. I decided to put the code online in 2017 after
13
5886bf51708b README typofixes etc.
Tuomo Valkonen <tuomov@iki.fi>
parents: 12
diff changeset
8 having had to spend some time to convert it to Lua 5.3 from which the
11
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
9 module() function had been removed.
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
10
16
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
11 Features (see the included example):
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
12
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
13 * Embedded Lua code within `<% ... %>` with the ltp engine.
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
14 * Advanced markdown features, including syntax highlighting of code blocks, via Pandoc
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
15 (select `renderer: pandoc` in the page meta section).
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
16
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
17 Aside from the included `compat_env.lua` and the ltp engine (which is has not
11
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
18 updated to Lua 5.3, and requires on the compat_env module), the code is in
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
19 the public domain.

mercurial