3 ms·
There seems to be some conflating going on here. As the author mentioned, the spec space is a scattered mess. For the same reason, all markdown to HTML compiler
by mcluck 4y ago
There seems to be some conflating going on here. As the author mentioned, the spec space is a scattered mess. For the same reason, all markdown to HTML compilers are following their own rules (unless they specifically call out the recommendations of one of the specs.) So if you are getting crappy HTML output, get (or write since it's so simple) a better compiler. Many markdown to HTML tools will let you apply templates and specify which tags to use for a given piece of markup. For the layperson that's probably asking a lot but for the technical crowd, it's your own fault if you aren't happy with the output
- vanderZwan 4y agoSo how would you determine where to put an article, section, header or footer tag with markdown, not counting using raw HTML in markdown??
- mcluck 4y agoMost of the tags you mentioned should only have a single one in the document, generally speaking, so insert them yourself as part of the template. You could make an argument for wanting to have different <section>s which I figure could be built when you encounter a level 2 header or similar. If you want to create more complex documents, use HTML. Markdown isn't the right tool