this post was submitted on 11 Aug 2026
20 points (100.0% liked)
Programming
28057 readers
280 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Given that HTML supports significantly more formatting than markdown, it's completely unsurprising that any conversion is imperfect, this is not a flaw in pandoc, it's simply not possible.
I'll also point out that I was suggesting that OP starts with markdown and converts that to a required output format using pandoc. The barrier to entry is significantly less than using LaTeX for example.
Sure it's possible. Different markup languages have different levels of features: some like Markdown only very basic elements, some like asciidoc, orgmode, docbook, html, more differrentiated. There's 3 approaches converting from complexer to simpler formats:
- list, figure + figcaption to![alt]() *caption*, stuff like that)I know of Typora doing a good job with the convenient approach, though still partially lossless.
Sylpheed (E-Mail client) does a good job at the lossy approach, for plain text display of html.
pandoc does the lossless approach well. But it laso depends on which of the multitude of markdown outputs you've picked.