Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 892 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 892 Bytes

Build Status PyPI version

mdformat-rustfmt

Mdformat plugin to rustfmt Rust code blocks

Description

mdformat-rustfmt is an mdformat plugin that makes mdformat format Rust code blocks with rustfmt. The plugin invokes rustfmt in a subprocess so having it installed is a requirement.

Installing

  1. Install rustfmt
  2. Install mdformat-rustfmt
    pip install mdformat-rustfmt

Usage

mdformat YOUR_MARKDOWN_FILE.md