3 ms·
That "also" is critical. It's primary purpose is to be rendered into HTML, but it should also be readable. Now the point is - markdown formatters only format t
by The_Colonel 2y ago
That "also" is critical. It's primary purpose is to be rendered into HTML, but it should also be readable.
Now the point is - markdown formatters only format things which won't have an effect in the rendered HTML, so why does it matter? Do you have some meaningful information encoded in markdown which does not translate to HTML? That sounds like a clear anti-pattern, since by rendering to HTML you lose it.
- fenomas 2y agoYou're imagining that the formatter's top priority is to make markdown look similar to its rendered HTML. But that's not a goal of markdown (literally TFA), nor of Prettier, and it's not relevant too what I and some other people use markdown for. If it's relevant for you, great! This thread is me saying it ought to be configurable either way. > so why does it matter? Readability, per the whole thread.