{ "info": { "author": "Andrew Stewart", "author_email": "andrew@stwrt.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "GFM\n===\n\nGFM is a small module to convert `GitHub Flavored Markdown`_ to HTML.\n\nUsage\n-----\n\nGFM offers two methods, ``gfm`` and ``markdown``.\n\n``gfm`` simply preprocesses the parts of Markdown that GitHub Flavored\nMarkdown is interested in, without converting the Markdown to HTML.\n\n``markdown`` does this as well as passing the result through the\n``markdown`` module to generate HTML.\n\n::\n\n >>> import gfm\n >>> string = \"Roses are red\\nViolets are blue\"\n >>> gfm.gfm(string)\n 'Roses are red \\nViolets are blue'\n >>> gfm.markdown(string)\n '
Roses are red
\\nViolets are blue