protoc gen markdown
Go to file
yanweidong 6c1694ce6b fix bug 2025-09-07 21:12:13 +08:00
README.md feat 2025-09-07 17:26:39 +08:00
go.mod feat 2025-09-07 17:26:39 +08:00
go.sum feat 2025-09-07 17:26:39 +08:00
hello.md feat 2025-09-07 17:26:39 +08:00
hello.proto feat 2025-09-07 17:26:39 +08:00
main.go fix bug 2025-09-07 21:12:13 +08:00

README.md

protoc-gen-markdown

install

go install git.apinb.com/bsm-tools/protoc-gen-markdown

generate markdown

protoc --markdown_out=Mhello.proto=./:. ./hello.proto
# set path prefix to /api
protoc --markdown_out=Mhello.proto=./,prefix=/api:. ./hello.proto