2 ms·
No, I trust HTML and CSS to stand the test of time far more than Markdown. Do you know how many different variants of Markdown there are, how they affect the in
by chrismorgan 7y ago
No, I trust HTML and CSS to stand the test of time far more than Markdown. Do you know how many different variants of Markdown there are, how they affect the interpretation and appearance of the content, how they can break surprisingly much? And when it comes down to it, as soon as you want to do anything even remotely interesting in Markdown, you have to drop straight HTML in there, and pray that the Markdown engine will do the right thing, since the rules of how it should all work are insanely complex, and vary widely by engine, for all that there’s a general trend towards CommonMark which at least specifies the madness and folly. (I’m sad that Markdown won over reStructuredText, which was actually designed.)
HTML is a quite acceptable authoring format, one that readily lets you do interesting things if you desire—though making it possible can certainly be a footgun. CSS is a reasonable styling language.
- lmm 7y ago> Do you know how many different variants of Markdown there are, how they affect the interpretation and appearance of the content, how they can break surprisingly much? One plus a bunch of non-standard extensions. Do you know how many different variants of HTML there are, how rare it is for real-world HTML to actually conform to any of them, and how many different interpretations of that there are. (To say nothing of CSS, the standard so complex that it's never actually been implemented). > And when it comes down to it, as soon as you want to do anything even remotely interesting in Markdown, you have to drop straight HTML in there Just say no. If your goal is writing something intended to last, you should be able to convey it in mostly-plain text.
- chrismorgan 7y agoNope, definitely not one Markdown. Reddit uses three different engines with major mutual incompatibilities and mostly forbids all HTML (which frankly I deem enough to call it not real Markdown); Stack Overflow uses two with what used to be critical deficiencies and incompatibilities in the one used for comments, but I think they’re now mostly minor only; some things still use Markdown.pl which does many bizarre things; some, other weird engines with idiosyncrasies of their own; most more recent Markdown engines are only mostly CommonMark-compatible, regularly deviating in important places, and very often adding incompatible extensions. It’s a disaster at present, and I don’t expect it to get much better for at least a decade, if ever. (HTML got better with HTML5, but I don’t think Markdown is likely to unite so firmly, because people want more than non-HTML Markdown offers, and so will continue to extend it.) HTML, though? Since the HTML5 spec about a decade ago, there has only been one HTML, with all browsers parsing and handling documents identically. CSS is similarly parsed and interpreted according to well-defined algorithms now. There are some visual rendering differences between browsers in how CSS is handled, but it is exceedingly rare for them to affect the content. And for your complaints about CSS, it’s not intended as a single thing to implement in one piece—it’s deliberately designed as something that is extended over time. But if you write CSS that works in browsers now, then presuming you haven’t used vendor-prefixed stuff, it’s reasonable to expect it to work the same way indefinitely.