This is a simple bash
script to convert one or more HTML files to markdown format. I created it to quickly convert a Medium export for import into my Obsidian vault.
mkmd path/*.html
MKMD_SH="https://gist.github.com/ScottJWalter/e813aa1f6534492e65dd6287b8d14f18/raw/d192d2f0c9da5dc070d7b2c979ab8421d6e8223d/mkmd.sh"
With curl:
bash <(curl -sL ${MKMD_SH}) args...
With wget:
bash <(wget -nv -O - ${MKMD_SH}) args...