Adds Vuetify typography classes to various tags
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.
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.
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">
There is none. This is a small side project, like 30 minutes of research and work went into it. Good luck.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size PythonVuetifyMarkdown-0.1.2-py3-none-any.whl (3.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size PythonVuetifyMarkdown-0.1.2.tar.gz (2.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for PythonVuetifyMarkdown-0.1.2-py3-none-any.whl
Hashes for PythonVuetifyMarkdown-0.1.2.tar.gz