{ "info": { "author": "David L\u00f6nnhager", "author_email": "dv.lnh.d@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "=============\nhtml2markdown\n=============\n\n**Experimental**\n\n**Purpose**: Converts html to markdown while preserving unsupported html markup. The goal is to generate markdown that can be converted back into html. This is the major difference between html2markdown and html2text. The latter doesn't purport to be reversible.\n\nUsage example\n=============\n::\n\n\timport html2markdown\n\tprint html2markdown.convert('
Here is some code')\n\nOutput::\n\n\t## Test\n\t\n\t Here is some code\n\nInformation and caveats\n=======================\n\nDoes not convert the content of block-type tags other than ```` -- such as ``
this is stuff. stuff
`` \n\n**Result**: ``this is stuff. __stuff__`` (surrounded by a newline on either side) \n\n**Input**: ``strike through some text here`` \n\n**Result**: ``strike __through__ some text here`` \n\nExcept in unprocessed block-type tags, formatting characters are escaped\n------------------------------------------------------------------------\n\n**Input**: ``**escape me?**
`` (in html, we would use \\ here) \n\n**Result**: ``\\*\\*escape me?\\*\\*`` \n\n**Input**: ``**escape me?**`` \n\n**Result**: ``\\*\\*escape me?\\*\\*`` \n\n**Input**: ``