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 Python 3

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