Skip to main content

django-markdown2

[![changelog](http://allmychanges.com/p/python/django-markdown2/badge/)](http://allmychanges.com/p/python/django-markdown2/?utm_source=badge)

This is a simple app, which supplies a single template tag for markdown markup.

Dependencies

django-markdown2 depends on python-markdown2, which can be found at http://code.google.com/p/python-markdown2.

Installation and usage

  • Place django_markdown2 somewhere in your PYTHONPATH.

  • Add django_markdown2 to you INSTALLED_APPS.

  • In any template do:

    {% load md2 %} {{ variable|markdown }}

  • Or specify additional extensions:

    {% load md2 %} {{ variable|markdown:”safe, code-friendly, code-color” }}

  • Also, if you use my recent markdown2-with-blackjack from http://pypi.aartemenko.com, then you can pass additional options to code-color extension:

    {% load md2 %} {{ variable|markdown:”safe, code-friendly, code-color: noclasses|linenos” }}

    Options from this example switch off css classes and turn on line numbers.

Contribution

Code for this application available at: <http://github.com/svetlyak40wt/django-markdown2>

Metadata

Release files for django-markdown2 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-markdown2 0.3.1
File Size Uploaded Provenance
django-markdown2-0.3.1.tar.gz 4.1 kB Without provenance Details

Release files / django-markdown2-0.3.1.tar.gz

Download URL django-markdown2-0.3.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f04748d56788f6291d8d35f0e53a58530e1c0b34981b046883b319b64c8117e2
BLAKE2b-256 checksum
How to use checksums
f962eadc690275c3a66e08e2d9b3bf5576285f0df896fc787faa45691900b2f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-markdown2 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page