2 ms·
Pug is HTML but beautiful and more powerful, I’m surprised it hasn’t been brought up. The best format I’ve found to author web pages, though, is definitely MDS
by FractalHQ 5y ago
Pug is HTML but beautiful and more powerful, I’m surprised it hasn’t been brought up.
The best format I’ve found to author web pages, though, is definitely MDSvex [1], which is essentially markdown with built in syntax highlighting for code blocks, vanilla HTML if needed, and Svelte / Svelte components for any reactivity / reusable components if JS is needed. Stick some pug in the Svelte Component and I’ve got unlimited power in a beautiful, readable syntax with 0 boilerplate, all compiling to vanilla HTML and optionally hydrating JS. Love it!
[1] https://mdsvex.com https://mdsvex.com