by zahrevsky · 1mo ago · 0 comments
Of course, there are services that do that for you, ranging from Hugo to Obsidian Publish. But they all add a level of complexity that you have to manage.
Also, this makes user-level styling much simpler. This is what any “Reading mode” does, but without reverse-engineering the content from a soup of tags and classes.
What I imagined is browsers rendering the content with headings, quotes, etc. Browsers could have some default styles to render MD files. Those styles could be configurable the same way “Reading mode” is usually configurable.
The plain unstyled rendering of strings of text is, of course, available even now. That's why I'm saying this needs a browser-level support.
> you only need a very simple script to convert md to plain html
I get, that it feels simple compared to other software. Even more, MD was designed specifically to be simple!
But if you think about it, this is still too much complexity to just share some text.
With native browser support, you could run zero commands to build a website.
I think this is mostly important for regular users, not developers. Imagine if creating a Word document would require the same level of complexity as building a web page: I doubt that the format would be so popular as it is nowadays.
Why imagine. That's what I do, except it's a cron that runs the shell script that converts all the markdown to html.
So then you don't just drop a .md file.
I literally do - I drop a file in a folder; the fact that everything else is automated is irrelevant, because all I do is drop a file in a folder.
It is relevant because you're the one that wrote the script to automate it.
Sure, it works for you. But it doesn't work for everyone else, which I think was the other person's ideal when they said:
Imagine just dropping .md files to your server and having a working website
They didn't literally mean your server.