1. 首页
  2. 数据库
  3. 其它
  4. gofmtmd:gofmtmd格式用于Markdown中的源代码块。 使用gofmt检测受防护的代码并设置代码格式 源码

gofmtmd:gofmtmd格式用于Markdown中的源代码块。 使用gofmt检测受防护的代码并设置代码格式 源码

上传者: 2021-02-10 02:41:42上传 ZIP文件 156.48KB 热度 7次
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
下载地址
用户评论