Skip to main content

Mdformat plugin to rustfmt Rust code blocks

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mdformat-rustfmt-0.0.3.tar.gz (3.3 kB view hashes)

Uploaded source

Built Distribution

mdformat_rustfmt-0.0.3-py3-none-any.whl (3.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page