by DidYaWipe · 1y ago · 0 comments
You find readme documents in Markdown in every open-source repo, but why? What are you supposed to read them with?
After much searching I finally ended up with Marked, on the Mac. A paid app. But that's about it for options. And no, I'm not talking about text editors that offer a "preview" pane that you can optionally invoke. I'm talking about a simple reader for Markdown that renders it, so you're not reading a shitty text file with a bunch of formatting codes in it. Why bother putting them in, if nothing parses and acts on them?
If you're on macOS though, the best option for rendered Markdown is a quicklook plugin. There are a few around - I like [1] though.
What is your alternative to Markdown here?
If everyone's just using a plain-text reader to view these files, then why clutter them up with formatting codes?
Every source control website I've used will render Markdown as HTML for you.
The IDE that I use most of the time also renders markdown.
Ah, so that's the definition of a "loaded question." Thanks for the fallacy!
"Loaded Question: A loaded question contains an assumption that may or may not be true or agreed upon. It's designed to trap the respondent into confirming a premise they might not agree with, regardless of their answer.
Complex Question Fallacy (or plurium interrogationum): This is a logical fallacy where the question presumes the truth of something that may be false or unproven. Answering it directly implies agreement with that presupposition."
And because of the lack of such readers, everyone just reads the plain text with a bunch of garbage in it. It's just gallingly dumb.
That's what documentation generators are for, to render all the docs and search them if you're just a user.
Your pretension that most programming involves writing Markdown "source code" is absurd. I neither want nor need Markdown in any of my source-code editors, ever. Not once in decades of professional programming have I missed it.
And if I do need to create Markdown, I will want to do so in a simple WYSIWIG editor and save it as MD. Again... not in my IDE.
Browsers read html. You're supposed to read markdown with a browser by rendering it to html and reading the html.
text on the left, render on the right pane
example: https://imgur.com/9rjoMa2.png
It's even dumber when you ponder: What is this a "preview" of? How the document will look in... a nonexistent viewer?