Converting HTML to Markdown2025-06-20
I needed to do this earlier and pulled pandoc out, except the output was not great. Turns out you need to specify markdown_strict instead. If you have tables you may also want to to append +pipe_tables to the output format.
pandoc --wrap=none --from html --to markdown_strict page.html --output page.md