by dotdi · 1y ago · 0 comments
Yes, Markdown has disadvantages, and a few rough edges for uses as the format for editors et al, but there are two very big advantages and/or sideffects of it's widespread use: (1) it's cleartext and therefore very good as a measure against vendor lock-in and (2) it has, to some extent, dampened the rampant "not-invented-here"-esqe tendency to use proprietary formats. Even in open-source apps, proprietary formats make it hard for non-dev users to get their stuff out. If it's markdown (or at least supports markdown export) from the beginning, at least you know you can take your data with you.
Markdown is good enough for most of the documentation that software engineers do (other than diagrams), they already have to know it, and I don't want yet-another-markup-language to be a barrier to capturing and communicating institutional knowledge.
I also tell people that, if you're new to Markdown, even a plain text approximation that doesn't quite format correctly is strongly encouraged, so long as they capture the info somewhere accessible. I'll even offer to cheerfully fix the missing/bad Markdown, so that we have working docs and people can learn the very few parts of Markdown they missed; it's really not much.
(I personally have heavily used many much-much better technical documentation systems, and helped develop a WYSIWYG-ish SGML-based one professionally, but just using Markdown is a no-brainer right now. There are much more important things I want people learning and doing, than N different ways of minimally formatting documentation in N different places.)
Works fine with some help https://mermaid.live/ https://github.blog/developer-skills/github/include-diagrams...
Like with WordPerfect, there are people who get great utility (attorneys in WP, developers with Markdown), but 80-95% of people don’t get anything out of it.
It’s also one of those things where the constraints are an advantage. Markdown is great for internet facing text content, while many aspects of the mainstream wysiwyg editors are really descended from solutions for placing text on paper.
Unfortunately there’s no realistic solution to the lock-in, so wrestling with broken paragraph formatting, mismatched text sizes, auto-numbering errors, etc at 2am before a client deadline remains the norm. One of the most frustrating parts of the job.
I was on a project and complained heavily that we were not using styles,. The complaints got my manager to state that another person would do all the formatting. Of course the other person left befor the end and I had to do all the formatting.
Paste additions to the middle of a numbered list from legacy documents that break the number sequence and use custom fonts altar create weird problems? Sure.
Allow sociopaths to format text using a series of invisible text boxes? Sure.
Decide to randomly lose the names of editors and contributors? Sure.
I write stories and everyone uses Word documents for editing.
Just because I can’t fix my car doesn’t mean I want an unfixable car.
There’s no free lunch. On the flip, that user wants the complex features of the platform, and exposing them to a markup language takes elegant markdown and turns it into html or ooxml.
Lawyer here: I loved WordPerfect (for DOS) because of Reveal Codes and its easy keystroke macros, which let me write an Emacs keyboard emulator for it. (Yes, I eventually did one for Microsoft Word for Windows, which I use to this day.)
That GitHub used it as a "native" format everywhere from the beginning (as far as I remember), probably helped Markdown become at least as popular (or maybe even more) as GitHub itself.
Then everyone and their mother started doing static blogs, and since people already wrote their READMEs and issue comments with Markdown, I guess it was natural to want to write your blogposts with Markdown too, just like Gruber.
So lists look exactly how you would expect lists to look like if you were writing it on a piece of paper.
Italic/Bolds are surrounded by /* which convey emphasis even in plaintext.
Headings prefixed by # is a reasonable way to depict headings in plaintext and convey the intention immediately even if you don't know Markdown.
Also covered by AsciiDoc.
"Compare AsciiDoc and Markdown": https://news.ycombinator.com/item?id=27744509