Skip to main content

Mdformat plugin to gofmt Go code blocks

Project description

Build Status PyPI version

mdformat-gofmt

Mdformat plugin to gofmt Go code blocks

Description

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

Installing

  1. Install Go
  2. Install mdformat-gofmt
    pip install mdformat-gofmt
    

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-gofmt-0.0.2.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

mdformat_gofmt-0.0.2-py3-none-any.whl (3.0 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