5 ms·
Sweet spot as long as you don’t want anything basic like using colors. In my experience Markdown has been about as much painful and frustrating than helpful.
by tasogare 6y ago
Sweet spot as long as you don’t want anything basic like using colors. In my experience Markdown has been about as much painful and frustrating than helpful.
- shakna 6y agoColor isn't really that basic a thing - you need to take into account the medium that the color will be displayed in to do it correctly. However, as Markdown is supposed to be nothing more than a superset of HTML, you can simply reach for CSS. It won't always render the best if you're moving from Markdown to physical medium, but that's largely dependent on the engine.
- EE84M3i 6y agoI very rarely, if ever, encounter markdown inputs where markdown is a superset of HTML. Almost always script tags and various other sorts of active content are stripped at the very least.
- shakna 6y agoIf certain tags are being stripped, then you're probably in a position where arbitrary input isn't desirable. If this is an input to a website, for example, the webmaster really doesn't desire everyone to be able to reinvent the blink tag, or be able to express everything in rainbow fonts. In which case Markdown shines, for it's ability to express simple markup, that can be safely expressed.
- geraldbauer 6y agoYou can use colors - like in html and css you keep style and structure separate. If you want all your heading 2 blue, for example, than you can use h2 { color: blue; } and so on and so forth. PS: By the way, you are currently commenting in text without colors - how do you feel?
- tasogare 6y agoCommenting of HN is very different than writing educational context. Colors made it really easier to show correspondences in-between languages, especially when they are in different order. I also had the problem the other day when writing software documentation (imagine code portion without colors... hopefully in this case third party lib are doing the job). You (and other posters) can ironize as much as they want, the truth is dealing with colored text in Markdown is equals to inputting raw HTML, as which point mixing the two markup languages is more painful than going raw HTML.
- scambier 6y agoWell, (raw) Markdown is about content, not form. I don't have any example on the top of my head when color is part of content, but if that's a common use case of yours, text processors are probably a better tool than Markdown.