{ "info": { "author": "Matthew Tretter", "author_email": "m@tthewwithanm.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Utilities" ], "description": "Installation\n============\n\n``pip install markdownify``\n\n\nUsage\n=====\n\nConvert some HTML to Markdown:\n\n.. code:: python\n\n from markdownify import markdownify as md\n md('Yay GitHub') # > '**Yay** [GitHub](http://github.com)'\n\nSpecify tags to exclude (blacklist):\n\n.. code:: python\n\n from markdownify import markdownify as md\n md('Yay GitHub', strip=['a']) # > '**Yay** GitHub'\n\n\\...or specify the tags you want to include (whitelist):\n\n.. code:: python\n\n from markdownify import markdownify as md\n md('Yay GitHub', convert=['b']) # > '**Yay** GitHub'\n\n\nOptions\n=======\n\nMarkdownify supports the following options:\n\nstrip\n A list of tags to strip (blacklist). This option can't be used with the\n ``convert`` option.\n\nconvert\n A list of tags to convert (whitelist). This option can't be used with the\n ``strip`` option.\n\nautolinks\n A boolean indicating whether the \"automatic link\" style should be used when\n a ``a`` tag's contents match its href. Defaults to ``True``\n\nheading_style\n Defines how headings should be converted. Accepted values are ``ATX``,\n ``ATX_CLOSED``, ``SETEXT``, and ``UNDERLINED`` (which is an alias for\n ``SETEXT``). Defaults to ``UNDERLINED``.\n\nbullets\n An iterable (string, list, or tuple) of bullet styles to be used. If the\n iterable only contains one item, it will be used regardless of how deeply\n lists are nested. Otherwise, the bullet will alternate based on nesting\n level. Defaults to ``'*+-'``.\n\nOptions may be specified as kwargs to the ``markdownify`` function, or as a\nnested ``Options`` class in ``MarkdownConverter`` subclasses.\n\n\nDevelopment\n===========\n\nTo run tests:\n\n``python setup.py test``\n\nTo lint:\n\n``python setup.py lint``\n", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/matthewwithanm/python-markdownify/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/matthewwithanm/python-markdownify", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "markdownify", "package_url": "https://pypi.org/project/markdownify/", "platform": "", "project_url": "https://pypi.org/project/markdownify/", "project_urls": { "Download": "http://github.com/matthewwithanm/python-markdownify/tarball/master", "Homepage": "http://github.com/matthewwithanm/python-markdownify" }, "release_url": "https://pypi.org/project/markdownify/0.4.1/", "requires_dist": null, "requires_python": "", "summary": "Convert HTML to markdown.", "version": "0.4.1" }, "last_serial": 3369527, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "78faecd505cad9d8870bd85c0b229d3b", "sha256": "aaf94a23c56408ea85311eea17728abd40e68c9bff38f4cc83ab50faf7d460d9" }, "downloads": -1, "filename": "markdownify-0.2.0.tar.gz", "has_sig": false, "md5_digest": "78faecd505cad9d8870bd85c0b229d3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4015, "upload_time": "2013-07-31T21:12:02", "url": "https://files.pythonhosted.org/packages/e7/20/99c34d08662140e370f2dcea7354893ac449d6bc2e42c28f7c45f54cb455/markdownify-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "b72b65ff7e0c5b06bc78797b2b2bc820", "sha256": "970afc0fc1e55de697e6de8aca604c7cf00efa2cd9422d2a5ecf3fd04c92fbd7" }, "downloads": -1, "filename": "markdownify-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b72b65ff7e0c5b06bc78797b2b2bc820", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4633, "upload_time": "2013-07-31T22:16:30", "url": "https://files.pythonhosted.org/packages/8a/15/20e37b0b0a71dacd23fa7da96986dc98f5ab2cab6195f35b72a87d351300/markdownify-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "9cc76ac885fb601174c7bcabbfce6722", "sha256": "7cf4787436527a60fdda3311f29b2894e59c148a3a51835d650a747b70b950e2" }, "downloads": -1, "filename": "markdownify-0.4.0.tar.gz", "has_sig": false, "md5_digest": "9cc76ac885fb601174c7bcabbfce6722", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5518, "upload_time": "2013-08-01T03:13:48", "url": "https://files.pythonhosted.org/packages/d0/f6/b07ee31c7e0c4eb858a1f51419c898d374bca8baff423fc8eb44971af5a9/markdownify-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "3a65a5a2532afaafd9473bf1133ff7bf", "sha256": "28ce67d1888e4908faaab7b04d2193cda70ea4f902f156a21d0aaea55e63e0a1" }, "downloads": -1, "filename": "markdownify-0.4.1.tar.gz", "has_sig": false, "md5_digest": "3a65a5a2532afaafd9473bf1133ff7bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5945, "upload_time": "2017-11-27T23:07:54", "url": "https://files.pythonhosted.org/packages/9a/34/648be48d8ebbd260d8688d1c1c9fbff42d5fc0aceaaf3ec5ea1b3dbc8471/markdownify-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a65a5a2532afaafd9473bf1133ff7bf", "sha256": "28ce67d1888e4908faaab7b04d2193cda70ea4f902f156a21d0aaea55e63e0a1" }, "downloads": -1, "filename": "markdownify-0.4.1.tar.gz", "has_sig": false, "md5_digest": "3a65a5a2532afaafd9473bf1133ff7bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5945, "upload_time": "2017-11-27T23:07:54", "url": "https://files.pythonhosted.org/packages/9a/34/648be48d8ebbd260d8688d1c1c9fbff42d5fc0aceaaf3ec5ea1b3dbc8471/markdownify-0.4.1.tar.gz" } ] }