Metadata-Version: 2.1
Name: mdformat-rustfmt
Version: 0.0.3
Summary: Mdformat plugin to rustfmt Rust code blocks
Home-page: https://github.com/hukkinj1/mdformat-rustfmt
License: MIT
Keywords: mdformat,markdown,commonmark,formatter
Author: Taneli Hukkinen
Author-email: hukkinj1@users.noreply.github.com
Requires-Python: >=3.6.1,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Documentation
Classifier: Topic :: Text Processing :: Markup
Classifier: Typing :: Typed
Requires-Dist: mdformat (>=0.3.5)
Project-URL: Repository, https://github.com/hukkinj1/mdformat-rustfmt
Description-Content-Type: text/markdown

[![Build Status](https://github.com/hukkinj1/mdformat-rustfmt/workflows/Tests/badge.svg?branch=master)](<https://github.com/hukkinj1/mdformat-rustfmt/actions?query=workflow%3ATests+branch%3Amaster+event%3Apush>)
[![PyPI version](<https://img.shields.io/pypi/v/mdformat-rustfmt>)](<https://pypi.org/project/mdformat-rustfmt>)

# mdformat-rustfmt
> Mdformat plugin to rustfmt Rust code blocks

## Description
mdformat-rustfmt is an [mdformat](https://github.com/executablebooks/mdformat) plugin
that makes mdformat format Rust code blocks with [rustfmt](https://github.com/rust-lang/rustfmt).
The plugin invokes rustfmt in a subprocess so having it installed is a requirement.

## Installing
1. [Install rustfmt](https://github.com/rust-lang/rustfmt#quick-start)
1. Install mdformat-rustfmt
   ```bash
   pip install mdformat-rustfmt
   ```

## Usage
```bash
mdformat YOUR_MARKDOWN_FILE.md
```

