{ "info": { "author": "Paul McLanahan", "author_email": "paul@mclanahan.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Code Generators", "Topic :: Text Processing :: Markup" ], "description": "Django-Jinja-Markdown\n=====================\n\n.. image:: https://img.shields.io/travis/pmac/django-jinja-markdown/master.svg?maxAge=2592000\n :target: https://travis-ci.org/pmac/django-jinja-markdown/\n.. image:: https://img.shields.io/pypi/v/django-jinja-markdown.svg?maxAge=2592000\n :target: https://pypi.python.org/pypi/django-jinja-markdown\n\n`Django-Jinja `__\n(`Jinja2 `__) extension and filter to parse\nmarkdown text in templates.\n\nRequirements\n------------\n\n- `Django `__ 1.8 or 1.9\n- `Django-Jinja `__\n- `Python-Markdown `__\n\nInstallation\n------------\n\nInstall django-jinja-markdown:\n\n.. code:: shell\n\n pip install django-jinja-markdown\n\nAdd ``django_jinja_markdown`` to ``INSTALLED_APPS``.\n\nTo be able to use the ``{% markdown %}`` tag you should add the Jinja extension\nto your ``django_jinja`` TEMPLATES extensions list:\n\n.. code:: python\n\n TEMPLATES = [\n {\n 'BACKEND': 'django_jinja.backend.Jinja2',\n 'OPTIONS': {\n 'extensions': [\n 'django_jinja_markdown.extensions.MarkdownExtension',\n ],\n }\n },\n ]\n\nBasic Use\n---------\n\nExamples of using filter in template:\n\n.. code:: jinja\n\n {{ content|markdown }}\n {{ markdown('this is **bold**') }}\n\nOr with additional settings:\n\n.. code:: jinja\n\n {{ content|markdown(extensions=['nl2br',]) }}\n {{ markdown(content, extensions=['nl2br',]) }}\n\nExample of using extension:\n\n.. code:: jinja\n\n {% markdown %}\n Text which will get converted with Markdown.\n {% endmarkdown %}\n\nLicense\n-------\n\nThis software is licensed under The MIT License (MIT). For more\ninformation, read the file LICENSE.\n\nHistory\n-------\n\nForked in 2016 from the\n`jingo-markdown `__ project.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pmac/django-jinja-markdown", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-jinja-markdown", "package_url": "https://pypi.org/project/django-jinja-markdown/", "platform": "any", "project_url": "https://pypi.org/project/django-jinja-markdown/", "project_urls": { "Homepage": "https://github.com/pmac/django-jinja-markdown" }, "release_url": "https://pypi.org/project/django-jinja-markdown/1.0.1/", "requires_dist": [ "Markdown" ], "requires_python": "", "summary": "('Django-Jinja (Jinja2) extension and filter for parse markdown text markup.',)", "version": "1.0.1" }, "last_serial": 2238195, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "999f6b62532136b10d5facb2e3d179b0", "sha256": "31a49dcfdbff597caba5de093b5ec7f7320170e08fc0b1ef638c99caedd6c5f3" }, "downloads": -1, "filename": "django_jinja_markdown-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "999f6b62532136b10d5facb2e3d179b0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5676, "upload_time": "2016-07-21T16:46:44", "url": "https://files.pythonhosted.org/packages/44/1e/ea6cfa0f552098b7d6c2c9460e7907c5a1e5ff8c57049df1e667b1450d29/django_jinja_markdown-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c8e844fa6e4429cc6a8c9f434d07e55a", "sha256": "b6ad614bc761b01f073833d4367547990e9c9898152e9b4b4b43b0ef7b9b95bc" }, "downloads": -1, "filename": "django-jinja-markdown-1.0.tar.gz", "has_sig": false, "md5_digest": "c8e844fa6e4429cc6a8c9f434d07e55a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4730, "upload_time": "2016-07-21T16:46:47", "url": "https://files.pythonhosted.org/packages/52/db/2011562ddb887eca4ad6326b55bf353ad722b8f420223dce1aca2c45d727/django-jinja-markdown-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "dea3bde42f40fb0cd091f6cffaca31ba", "sha256": "233dcde5d6895416f5613e4ca030e88f18a163e4b676e7aa815d191754f53085" }, "downloads": -1, "filename": "django_jinja_markdown-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dea3bde42f40fb0cd091f6cffaca31ba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6002, "upload_time": "2016-07-22T15:08:47", "url": "https://files.pythonhosted.org/packages/f2/eb/ea045478d0712ad2952f56876d3a92066b76aa9e6ea0b1e7ccb04f656906/django_jinja_markdown-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d3c2a04cbeb6c3b58ac8fb38bd0be90f", "sha256": "d41db694bbf3085b026df227428427b859478a2846b55088429e3ccc7115c0c5" }, "downloads": -1, "filename": "django-jinja-markdown-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d3c2a04cbeb6c3b58ac8fb38bd0be90f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4922, "upload_time": "2016-07-22T15:08:50", "url": "https://files.pythonhosted.org/packages/a4/96/b84dbfac36d9a0e46e49b9f860ec46969c6a9de3d745d2fba78cad5656da/django-jinja-markdown-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dea3bde42f40fb0cd091f6cffaca31ba", "sha256": "233dcde5d6895416f5613e4ca030e88f18a163e4b676e7aa815d191754f53085" }, "downloads": -1, "filename": "django_jinja_markdown-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dea3bde42f40fb0cd091f6cffaca31ba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6002, "upload_time": "2016-07-22T15:08:47", "url": "https://files.pythonhosted.org/packages/f2/eb/ea045478d0712ad2952f56876d3a92066b76aa9e6ea0b1e7ccb04f656906/django_jinja_markdown-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d3c2a04cbeb6c3b58ac8fb38bd0be90f", "sha256": "d41db694bbf3085b026df227428427b859478a2846b55088429e3ccc7115c0c5" }, "downloads": -1, "filename": "django-jinja-markdown-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d3c2a04cbeb6c3b58ac8fb38bd0be90f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4922, "upload_time": "2016-07-22T15:08:50", "url": "https://files.pythonhosted.org/packages/a4/96/b84dbfac36d9a0e46e49b9f860ec46969c6a9de3d745d2fba78cad5656da/django-jinja-markdown-1.0.1.tar.gz" } ] }