This commit is contained in:
2025-09-07 17:26:39 +08:00
commit ca3ea1900d
6 changed files with 435 additions and 0 deletions

15
README.md Normal file
View File

@@ -0,0 +1,15 @@
# protoc-gen-markdown
## install
```bash
go install git.apinb.com/bsm-tools/protoc-gen-markdown
```
## generate markdown
```bash
protoc --markdown_out=Mhello.proto=./:. ./hello.proto
# set path prefix to /api
protoc --markdown_out=Mhello.proto=./,prefix=/api:. ./hello.proto
```