Skip to main content

Preserve VuePress-style ::: containers in mdformat

Project description

mdformat-vuepress

An mdformat plugin to preserve VuePress-style ::: containers when formatting Markdown files.

Installation

pip install mdformat-vuepress

Or with uv:

uv add mdformat-vuepress

Usage

After installation, the plugin will automatically be available to mdformat. VuePress-style containers will be preserved during formatting:

::: tip
This is a tip container that will be preserved.
:::

::: warning
This is a warning container.
:::

::: danger
This is a danger container.
:::

Features

  • Preserves VuePress container syntax (:::)
  • Maintains container content formatting
  • Compatible with mdformat's formatting rules
  • Supports all VuePress container types

Development

This plugin is built using the mdformat plugin system and uses markdown-it-py for parsing.

License

MIT License - see LICENSE file for details.

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

mdformat_vuepress-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

mdformat_vuepress-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file mdformat_vuepress-0.1.0.tar.gz.

File metadata

  • Download URL: mdformat_vuepress-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mdformat_vuepress-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ec0f17185d35f1b4235c0209ebeb0ec9a9fabcd1bd52a66fe8521c2d63e33ad
MD5 61e8c177b963486d87b9255bc81ef4ee
BLAKE2b-256 1a0c50c2f5348b09441c1b4e0bd88330a62ef13d82d31b356bb3a75508b0d2a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdformat_vuepress-0.1.0.tar.gz:

Publisher: publish.yml on mhoegger/mdformat-vuepress

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mdformat_vuepress-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mdformat_vuepress-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa16e5a56358e06ce8f75129d4416b9105cfe2af83088752d74b765b3c811238
MD5 73a1bf41e509cc91ae780cff2f0075ea
BLAKE2b-256 d90ebac3c3289dfcf3f97df091747eb45bfade115c9b977b2e14a95196aea8c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdformat_vuepress-0.1.0-py3-none-any.whl:

Publisher: publish.yml on mhoegger/mdformat-vuepress

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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