Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



No - 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.


I'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

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?


FWIW the textadept lexer can return everything well defined and supports everything, the rest is just styling.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: