16 lines
283 B
Markdown
16 lines
283 B
Markdown
# 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
|
|
```
|