I created a note taking app a while ago, that stored the content in Markdown. The note taking app featured an importer from webpages, which was pretty cool. One of the coolest features is that it converted the HTML code from the imported webpage to the Markdown format that the app was using.
For this I created this library. To be honest, I’m not totally proud of the code, as it is not very clean. USes JSoup as a dependency to strip unneded stuff and for reading nicely the HTML tags.