3 ms·
Wow great job! I also hate (well, dislike) static website builders... so I built my own based on markdown, with an embedded Scheme-like template language. But
by brabel 3y ago
Wow great job!
I also hate (well, dislike) static website builders... so I built my own based on markdown, with an embedded Scheme-like template language. But this is much nicer as you turned things around and made the website basically a Lua program that happens to output HTML.
Do you have support for stuff like syntax highlighting for code samples, table-of-contents "widgets" and so on?
- bvisness 3y agoNo - in fact, I spent about three hours manually syntax highlighting all the code examples in the post! At some point maybe I’ll make syntax highlighting for my editor, but it’s not a super high priority for me.
- vitiral 3y agoI've built a lua-based markdown which is more sane (from a programmer's PoV) than markdown but still concise https://github.com/civboot/civlua/tree/main/cxt https://github.com/civboot/civlua/tree/main/cxt I'm planning on supporting syntax highlighting. I could imagine creating a cxx that does what LuaX is doing, except it would support rendering to the command line as well as html. Want to team up?
- nmz 3y agoFWIW the textadept lexer can return everything well defined and supports everything, the rest is just styling.