gofmtmd:gofmtmd格式用于Markdown中的源代码块。 使用gofmt检测受防护的代码并设置代码格式 源码
gofmtmd gofmtmd格式转到Markdown中的源代码块。 使用gofmt检测受防护的代码并设置代码格式。 安装 $ go get github.com/po3rin/gofmtmd/cmd/gofmtmd 用法 # replace Go code with formated code $ gofmtmd testdata/testdata.md -r # write result to file instead of stdout $ gofmtmd testdata/testdata.md -w formatted.md # you can use stdndard input
下载地址
用户评论