mdx_staticfiles
A Markdown extension to add support for django.contrib.staticfiles.
Licensed under the ISC License.
Requirements
The mdx_staticfiles plugin requires only the base markdown library.
Installation
Install with pip install mdx_staticfiles.
Documentation
Allows inserting {% static %} Django tags into Markdown, that will reference files managed by django.contrib.staticfiles.
The following Markdown example:
A [promotial video]({% static "video/promo.mkv" %}).
Might result in:
A <a href="https://cdn.example.net/static/video/promo.mkv">promotional
video</a>.
Python usage:
md = markdown.Markdown(
extensions=[
'staticfiles',
],
)
Metadata
Release files for mdx-staticfiles 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mdx-staticfiles-0.1.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mdx_staticfiles-0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 7.6 kB
Release files / mdx-staticfiles-0.1.tar.gz
| Download URL | mdx-staticfiles-0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b8df377e8ea42277afe0044fc9bc9bfa8bcd31a431d6fca2672ef36737fb4f2
|
|
BLAKE2b-256 checksum How to use checksums |
230511d097f496f8e0d37f4fc1fab1cbe8b3bb42d9d507a3b82ea9e35facbd9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / mdx_staticfiles-0.1-py2.py3-none-any.whl
| Download URL | mdx_staticfiles-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
24a4850ea05f93c7bdfee6936f86b4f171f94bef4a22a011185c97c5097ae474
|
|
BLAKE2b-256 checksum How to use checksums |
d62d6efb463f31b35c36f892ad0370db4c8328910775c3fa28d8cfef2ba19623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|