Skip to main content

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

Metadata

Release files for mdformat-gofmt 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdformat-gofmt 0.0.2
File Size Uploaded
mdformat-gofmt-0.0.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mdformat-gofmt 0.0.2
File Interpreter ABI Platform
mdformat_gofmt-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / mdformat-gofmt-0.0.2.tar.gz

Download URL mdformat-gofmt-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6efc9ca6f343d91f1b7a5cee72c269ab5c83029d2f2f6a82e9a5252bffd723cf
BLAKE2b-256 checksum
How to use checksums
cb05e6168399fc7c5bf045e8d145a3d3ddf780cf6fdfc5f5218c69b4f8677b10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.9 Linux/5.4.0-1032-azure

Release files / mdformat_gofmt-0.0.2-py3-none-any.whl

Download URL mdformat_gofmt-0.0.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
843cdefe5c93668d298cf037560aba85b3a40cfd839a28347d4e149f27fcc6bc
BLAKE2b-256 checksum
How to use checksums
4acd6868e792bf7e6d7adea02598dddc574e6a034f4ff2f68d5909403b2b4293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.9 Linux/5.4.0-1032-azure

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page