semvec/pypi-packages huggingface dataset:
prettier-markdown 0.1.0
A fast command-line formatter for Markdown files
License: MIT
Requires Python: >=3.10
Keywords: formatter, code-style, markdown, python

# prettier-markdown

A fast command-line formatter for Markdown files, designed as a replacement for Prettier in Python projects where speed is crucial.

## Installation

```bash
pip install prettier-markdown
```

## Usage

### Command Line

```bash
# Format a single file
prettier-markdown file.md

# Format multiple files
prettier-markdown file1.md file2.md

# Format all markdown files in a directory
prettier-markdown docs/

# Check if files are formatted (exit code 1 if not)
prettier-markdown --check file.md
```

### Pre-commit Hook

Add to your `.pre-commit-config.yaml`:

```yaml
repos:
  - repo: https://github.com/jsh9/prettier-markdown
    rev: 0.1.0
    hooks:
      - id: prettier-markdown
```
(Replace "0.1.0" with the most recent version.)

## Features

- Fast markdown formatting
- Pre-commit hook integration
- Configurable formatting rules
- Support for multiple markdown files

## Development

```bash
# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run pre-commit hooks
pre-commit run --all-files
```

## License

MIT License
colortype 6.0.0a1
ansi color and styling library for python console output
License: MIT
Requires Python: >=3.8

# ansiconsole

ansiconsole is a lightweight python library for ansi text styling, colors, and cursor control. it supports standard ansi styles, 256-color, and rgb values, giving you full control over your terminal output.

## features

- text styles: bold, underline, dim, blink, reverse
- foreground and background colors
- light colors and bright backgrounds
- 256-color support
- rgb custom foreground and background colors
- cursor movement and line control
- console() function for inline formatting

## installation

```bash
pip install ansiconsole
````

## usage

```python
from ansiconsole import console

print(console("hello, [red]world[reset]!"))
print(console("[b_blue][white] info: [reset] this text has background and style"))
print(console("[up]moves cursor up"))
print(console("[rgb(255,0,0)]custom red text[rgb(0,0,0)]"))
```

## changelog

see [changelog.md](changelog.md) for full release history.

## license

this project is licensed under the mit license.