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.

Files for mdformat-gofmt, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size mdformat_gofmt-0.0.2-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mdformat-gofmt-0.0.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

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