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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mdformat-rustfmt-0.0.3.tar.gz.

File metadata

  • Download URL: mdformat-rustfmt-0.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Linux/5.4.0-1036-azure

File hashes

Hashes for mdformat-rustfmt-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3ed82684d8faf5b16000197bbd2a035a45251ce22d4c152c5ba04bb04f644ab5
MD5 0c44415b312f9dd316a8f1e76e1ea312
BLAKE2b-256 9e0fd6f4e3966f4851ca613a0efcd336b57327f908f5a2012951df02246ad80f

See more details on using hashes here.

File details

Details for the file mdformat_rustfmt-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: mdformat_rustfmt-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Linux/5.4.0-1036-azure

File hashes

Hashes for mdformat_rustfmt-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f6e3ca39e274c71406515889bb8915899008074597bb8fcb4921d8b5bd96bdd8
MD5 05ac189db3ee8fc74de5844dda5d1bee
BLAKE2b-256 9e5729dc0cc0ab8681494918c1e2cd47ec69fa6c98c56df86686b1cb967fce33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page