3 ms·
You could get something like this with lua and openresty. Looks like there are already some lua modules for markdown to HTML [0] and static site generation [1]
by chatmasta 7y ago
You could get something like this with lua and openresty.
Looks like there are already some lua modules for markdown to HTML [0] and static site generation [1]. It could definitely be done.
But what would be the advantage of rendering markdown to HTML on the fly? It's unlikely to change once it's been deployed.
[0] https://github.com/bakpakin/luamd https://github.com/bakpakin/luamd
[1] https://luapress.org/ https://luapress.org/
- y42 7y agoThank you! (Just seems more efficient to render md files directly instead of converting them into html, which then will be served by the web server.)