hukkin / mdformat-gofmt

Mdformat plugin to gofmt Go code blocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Mdformat plugin to gofmt Go code blocks

License:MIT License


Languages

Language:Python 100.0%