Skip to main content

Adds Vuetify typography classes to various tags

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PythonVuetifyMarkdown-0.1.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PythonVuetifyMarkdown-0.1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file PythonVuetifyMarkdown-0.1.2.tar.gz.

File metadata

  • Download URL: PythonVuetifyMarkdown-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for PythonVuetifyMarkdown-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d9c577c79e572189b2dab8fd1343375520eeeff0f5c7eb7e5b5647ed8c429dc0
MD5 fc57dac3e725b4a8e0b53970609098c7
BLAKE2b-256 7341b026896b9ebe312a71a26c6ee9f6ffbc15c231fa291fa963c94dbf4cb5a3

See more details on using hashes here.

File details

Details for the file PythonVuetifyMarkdown-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: PythonVuetifyMarkdown-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for PythonVuetifyMarkdown-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 124a05d42e067b6fc08393bd70f73da548c7fc27bee8a2e7d2f37de8775df6a7
MD5 90bc1515712a8f98b28a77a8ffa960c9
BLAKE2b-256 8c86e1a2bd894248adee806067d27608578cf1e617dc353e150027b27a54506b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page