3 ms·
I think markdown is poorly designed, especially in terms of ease of parsing (human AND machine!) I've written my own markup language, I'd love ANYONE'S feedbac
by vitiral 2y ago
I think markdown is poorly designed, especially in terms of ease of parsing (human AND machine!)
I've written my own markup language, I'd love ANYONE'S feedback, either good or bad
https://lua.civboot.org#Package_cxt https://lua.civboot.org#Package_cxt
- kstrauser 2y agoWhy did you make the decisions you did? My very first impression was “this looks different from Markdown for the sake of being different”. You say yours is easier to parse. Can you give some examples of when that might be try? Things like [*bold text] seem like they’d be harder to parse. (It’s hard to communicate tone here. My intent above was to sound curious, not dismissive.)
- vitiral 2y agoThe bulk parser only needs to read a single character and only needs to care about two characters (brackets). The sub parser then looks for either {...} or a single character. Markdown requires all sorts of complexity and it's nearly undecideable. Before CommonMark there wasn't even a spec and many things were largely ambiguous. Also, tables and other structured data in markdown are almost entirely hacks