Metadata-Version: 2.4
Name: md2html-tailwind4
Version: 1.2.0
Summary: A Python package that converts Markdown to HTML using Tailwind CSS 4 for styling.
Author-email: "White Neuron Co., Ltd." <contact@whiteneuron.com>
License: MIT License
        
        Copyright (c) 2026 White Neuron
        
        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: converter,html,markdown,tailwind,tailwindcss
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: Markdown
Requires-Python: >=3.11
Requires-Dist: beautifulsoup4>=4.14.3
Requires-Dist: markdown>=3.10.2
Description-Content-Type: text/markdown

# md2html-tailwind4

A Python package that converts Markdown to clean, styled HTML using **Tailwind CSS 4** classes.

Designed for projects that render HTML inside a Tailwind-powered frontend (Django, FastAPI, static sites, etc.). No build step required — just pass in Markdown, get back ready-to-render HTML.

## Features

- Converts Markdown to HTML with full Tailwind CSS 4 class annotations
- Responsive tables with overflow scrolling
- Audio table support (3-column tables with media URLs become interactive audio players)
- Automatically escapes Django template delimiters (`{{ }}`, `{% %}`) inside code blocks
- External links get `target="_blank"` and `rel="noopener noreferrer"` automatically
- Dark mode support via Tailwind's `dark:` variants
- CLI tool included

## Installation

```bash
pip install md2html-tailwind4
```

## Usage

### Python API

```python
from md2html_tailwind4 import Converter

converter = Converter()
html = converter.convert_md_to_html("# Hello\n\nThis is **Markdown**.")
print(html)
```

### Command Line

```bash
md2html input.md output.html
```

## Requirements

- Python >= 3.11

## License

MIT — White Neuron Co., Ltd.
