README.md

Mon, 20 Apr 2020 12:02:54 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 20 Apr 2020 12:02:54 -0500
changeset 18
30b9b7402f94
parent 16
e377590e9b19
child 19
d0b9a9c90832
permissions
-rw-r--r--

Add title

18
30b9b7402f94 Add title
Tuomo Valkonen <tuomov@iki.fi>
parents: 16
diff changeset
1
30b9b7402f94 Add title
Tuomo Valkonen <tuomov@iki.fi>
parents: 16
diff changeset
2 # lgen
11
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
3
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4 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
5 written by Tuomo Valkonen 〈<tuomov@iki.fi>〉.
11
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
6
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7 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
8 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
9 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
10 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
11 module() function had been removed.
d2c95c18f88f Added a README
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
12
16
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
13 Features (see the included example):
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
14
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
15 * Embedded Lua code within `<% ... %>` with the ltp engine.
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
16 * Advanced markdown features, including syntax highlighting of code blocks, via Pandoc
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
17 (select `renderer: pandoc` in the page meta section).
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
18
e377590e9b19 Support Pandoc rendering
Tuomo Valkonen <tuomov@iki.fi>
parents: 13
diff changeset
19 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
20 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
21 the public domain.

mercurial