Metadata-Version: 2.4
Name: comfit-hl
Version: 0.1.1
License-File: LICENSE
Summary: Comfit bindings for Python
Home-Page: https://comfit.pinanek.me
Author-email: Ngo Duc Hoang Son <hoangsonngo555@gmail.com>
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://comfit.pinanek.me
Project-URL: Repository, https://github.com/pinanek/comfit

# Comfit for Python

Comfit bindings for Python.

[![PyPI](https://img.shields.io/pypi/v/comfit-hl.svg)](https://pypi.org/project/comfit-hl/)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

[Documentation](https://comfit.pinanek.me) · [PyPI](https://pypi.org/project/comfit-hl/)

## Installation

```sh
python -m pip install comfit-hl
```

## Usage

```python
import comfit

config = comfit.RenderHtmlConfig(style=comfit.RenderHtmlStyle.Inline)
html = comfit.render_html(
    'fn main() {}',
    "rust",
    "catppuccin-mocha",
    config,
)
```

See the [Python guide](https://comfit.pinanek.me/docs/getting-started/python) for tokens, ANSI output, and document sessions.

## License

Licensed under the [MIT License](LICENSE).

Bundled parser licenses and query attribution are included in [THIRD_PARTY_NOTICES.txt](comfit/THIRD_PARTY_NOTICES.txt).

