News for hackers. Stuff that matters.
Re:Writing HTML by Hand by nologic01 on Wednesday September 20, 2023 @02:57AM (#37581203)
For many purposes it is needlessly verbose to write html by hand. Thats why markdown became popular.

But if more people do it and report their usage patterns one could maybe create a "super-markdown", i.e., the closest you could get to mapping html flexibility without the annoying XML verbosity.

Re:Writing HTML by Hand by tannhaeuser on Wednesday September 20, 2023 @03:06AM (#37581254)
> the closest you could get to mapping html flexibility without the annoying XML verbosity

Aka SGML.

Though while you can hide those away in an external DTD, SGML of course needs lots of markup declaration ([1]) for HTML "void" (empty) elements, tag inference, and enumerated attribute short forms, and then still more for markdown short references.

[1]: https://sgmljs.net/docs/whatwg-html200129-dtd.html

Re:Writing HTML by Hand by tincholio on Wednesday September 20, 2023 @07:31AM (#37582895)
Arguably, org-mode provides a "better markdown", but it's decidedly more niche.
Re:Writing HTML by Hand by alanbernstein on Wednesday September 20, 2023 @08:48AM (#37583484)
I like org-mode, but one of my gripes is that code block syntax is too clunky.
Re:Writing HTML by Hand by tincholio on Thursday September 21, 2023 @04:17AM (#37594693)
It's definitely heavier than Markdown's, but then again, it can do a lot more... In practice, if you're using Emacs, it doesn't really matter, because you can just insert a code block, and specify the language (if you're not using Babel stuff)
Re:Writing HTML by Hand by xigoi on Wednesday September 20, 2023 @07:54AM (#37583066)
I've created xidoc[0], which is meant to make writing HTML (as well as LaTeX) easier and more powerful.

[0] http://xidoc.nim.town/