Show HN: I made a tool to clean and convert any webpage to Markdown (opens in a new tab)markdowndown.vercel.app
441 pointsMy partner usually writes substack posts which I then mirror to our website’s blog section.
To automate this, I made a simple tool to scrape the post and clean it so that I can drop it to our blog easily. This might be useful to others as well.
Oh and ofcourse you can instruct GPT to make any final edits :D

Comments (99) 41 threads
Earlier commentshttps://dave.autonoma.ca/blog
Eventually, I found pandoc to be a little limiting:
* Awkward to use interpolated variables within prose.
* No real-time preview prior to rendering the final document.
* Limited options for TeX support (e.g., SVG vs. inline; ConTeXt vs. LaTeX).
* Inconsistent syntax for captions and cross-references.
* Requires glue to apply a single YAML metadata source file to multiple documents (e.g., book chapters).
* Does not (reliably) convert straight quotes to curly quotes.
For my purposes, I wanted to convert variable-laden Markdown and R Markdown to text, XHTML, and PDF formats. Eventually I replaced my tool chain of yamlp + pandoc + knitr by writing an integrated FOSS cross-platform desktop editor.
https://keenwrite.com/
KeenWrite uses flexmark-java + Renjin + KeenTeX + KeenQuotes to provide a solution that can replace pandoc + knitr in some situations.
Note how the captions and cross-reference syntax for images, tables, and equations is unified to use a double-colon sigil:
https://gitlab.com/DaveJarvis/KeenWrite/-/blob/main/docs/ref...
There's also command-line usage for integrating into build pipelines:
https://gitlab.com/DaveJarvis/KeenWrite/-/blob/main/docs/cmd...
Edit: read too fast. Didn’t notice the automatic and systematic aspects.
https://github.com/deathau/markdown-clipper
I guess there are dozens of alternative extensions available out there …
https://github.com/deathau/markdownload
With extension available for Firefox, Google Chrome, Microsoft Edge and Safari.
https://omnivore.app/
https://www.firecrawl.dev/
It also crawls (although you can scrape single pages as well)
https://content-parser.com/
These are all "wrappers around readability" AFAIK (including mine), which is the Mozilla project to make sites look clean and I use often.
All comments shown.
Couldn't load more comments. Check your connection and try again.