3 ms·
Isnt it just easier to have a html file then replace tags inside of that rather than having a new macro language ?
by dustymcp 4y ago
Isnt it just easier to have a html file then replace tags inside of that rather than having a new macro language ?
- josephg 4y agoThis also supports conditional expressions and loops: https://maud.lambda.xyz/control-structures.html https://maud.lambda.xyz/control-structures.html
- fredrb 4y agoSo does most templating languages.
- tannhaeuser 4y agoSGML (the markup meta-language once used for describing HTML) has that, but as we're talking the verdict is still out whether that's actually easier [1] ;) But anyway, SGML gives you HTML-aware, context-dependent, injection-free templating (even with hard support for sanitizing user content) in a content authoring workflow independent from a hosting programming language so is in a different ball park. [1]: https://news.ycombinator.com/item?id=31637910 https://news.ycombinator.com/item?id=31637910