feat
This commit is contained in:
15
README.md
Normal file
15
README.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user