Python Vuetify Markdown
This is an extension for Python-Markdown created for those who combine Python, Markdown, Vue, and Vuetify. I've been using this combination in several projects, and finally came across a need to process Markdown code, and keep it styled with Vuetify. Rather than McGuyver some solution in, I settled on a simple extension to do the heavy lifting.
The code is dead simple, and can be modified or extended to fit your needs.
Installation
For now, do it by hand. Load it into your project, add the extension when initializing Markdown, and it should work no problem. Once this is on PyPi, I'll change the docs to include pip installation.
Features
Currently, this extension modifies H1 to H6 tags and P tags. The styles can be found on the Vuetify Typography page.
- <h1> → <h1 class="display-4">
- <h2> → <h1 class="display-3">
- <h3> → <h1 class="display-2">
- <h4> → <h1 class="display-1">
- <h5> → <h1 class="headline">
- <h6> → <h1 class="title">
- <p> → <h1 class="body-1">
Support
There is none. This is a small side project, like 30 minutes of research and work went into it. Good luck.
Metadata
Release files for PythonVuetifyMarkdown 0.1.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 | |
|---|---|---|---|
| PythonVuetifyMarkdown-0.1.1.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PythonVuetifyMarkdown-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / PythonVuetifyMarkdown-0.1.1.tar.gz
| Download URL | PythonVuetifyMarkdown-0.1.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b1ff5258b92e70b37cf7d6a4a3b3e3315290050a9cb6f8e394c7086b266ec1a
|
|
BLAKE2b-256 checksum How to use checksums |
f6144aef384b49039c1c0f467bc1d73520d9b23af9d25cb8bf29f5617fd3e0f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|
Release files / PythonVuetifyMarkdown-0.1.1-py3-none-any.whl
| Download URL | PythonVuetifyMarkdown-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61ee4086fdb089e9e2061192e8dd8d96259f52d9e4fa57dcfaae1ded793058cd
|
|
BLAKE2b-256 checksum How to use checksums |
81bb6e4e41a1a154dc7657a5442232663755819312bf70f60729bcd430ed6d0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|