Metadata-Version: 2.4
Name: mdformat-vuepress
Version: 0.1.0
Summary: Preserve VuePress-style ::: containers in mdformat
Author-email: Marius Högger <marius.hoegger@hotmail.com>
License: MIT License
        
        Copyright (c) 2025 Marius Högger
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: formatter,markdown,mdformat,vuepress
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup
Requires-Python: >=3.9
Requires-Dist: markdown-it-py>=3
Requires-Dist: mdformat>=0.7
Requires-Dist: mdit-py-plugins>=0.4
Provides-Extra: test
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest>=6.0; extra == 'test'
Description-Content-Type: text/markdown

# mdformat-vuepress

An [mdformat](https://github.com/executablebooks/mdformat) plugin to preserve VuePress-style `:::` containers when formatting Markdown files.

## Installation

```bash
pip install mdformat-vuepress
```

Or with uv:

```bash
uv add mdformat-vuepress
```

## Usage

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

```markdown
::: 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](LICENSE) file for details.