Certainly not the prettiest with Wikipedia, but quick and works:
Code:
pandoc -f html -t epub -o epub.epub https://en.wikipedia.org/wiki/EPUB
Some web pages work better than others:
Code:
pandoc -f html -t epub -o 'Tools and apps for a large music library.epub' https://blog.syvi.net/tech-snippets/tools-and-apps-for-a-large-music-library
Results: