cpuguy83/go-md2man
GitHub: cpuguy83/go-md2man
将 Markdown 文件转换为 Unix man 手册页(roff 格式)的 Go 命令行工具。
Stars: 270 | Forks: 73
# go-md2man
将 markdown 转换为 roff(man 手册页)。
使用 [blackfriday](https://github.com/russross/blackfriday) 将 markdown 处理为 man 手册页。
### 用法
```
go install github.com/cpuguy83/go-md2man/v2@latest
go-md2man -in /path/to/markdownfile.md -out /manfile/output/path
```
对于 go 1.24 及以上版本,你可以使用 `go tool` 来运行它:
```
go get -tool github.com/cpuguy83/go-md2man/v2@latest
# 它将被追加到 go.mod 文件中的 `tool` 指令
go tool go-md2man -in /path/to/markdownfile.md -out /manfile/output/path
```
标签:EVTX分析, 日志审计