Re:Markdown, Asciidoc, or reStructuredText – a tale of docs-...
by tadfisher on Saturday November 05, 2022 @03:27AM
(#33478842)
Whitespace collapsing just sucks, though. The SGML roots hamper HTML's ergonomics for human writers.
Re:Markdown, Asciidoc, or reStructuredText – a tale of docs-...
by spaniard89277 on Sunday November 06, 2022 @05:52AM
(#33491245)
* {white-space: pre-wrap;} or pre-line, depending on what you want. Done.
I write in HTML the way some people write in Markdown using the abbreviated (but valid) syntax.
<!DOCTYPE html> <title>The Great Novel of All Time
<h1>Chapter One</h1>
<p>It was a dark and stormy night.
<p>Suddenly a shot rang out!
<p>A door slammed. The maid screamed.
If you avoid closing things that don't need to be closed, and use whitespace (and a syntax-highlighting editor) it's easy to write and easy to eye-parse.
No includes though.