Turns Stanford Encyclopedia of Philosophy pages into markdown for more comfortable reading and easy conversion into other formats.
If you find the articles useful, consider supporting the SEP.
Build and run it from the repo:
cargo run --release -- <URL> [OUTPUT-PATH]or install from crates.io and run:
cargo install sep2md
sep2md <URL> [OUTPUT-PATH]If OUTPUT-PATH is not provided, the default path will be "name of the article.md" (e.g. "heidegger.md" for https://plato.stanford.edu/entries/heidegger/).
To convert to EPUB you'll need pandoc. Once it's installed, you can run:
pandoc something.md --toc --toc-depth=5 --shift-heading-level-by=-1 -o something.epub