From 8fcdf2b90ab638664030c92d5c87f13530095d5d Mon Sep 17 00:00:00 2001 From: "Aaron, Chong Shi Ong" Date: Wed, 11 Jul 2018 00:49:12 +0800 Subject: [PATCH] Resolved issue #635 Markdown Format Issues --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e0e6a3b64e..c46bbdc821 100644 --- a/README.md +++ b/README.md @@ -83,15 +83,19 @@ be: - Relative to the import path: - protoc --go_out=. inputs/x.proto - # writes ./github.com/golang/protobuf/p/x.pb.go +```shell + protoc --go_out=. inputs/x.proto + # writes ./github.com/golang/protobuf/p/x.pb.go +``` (This can work well with `--go_out=$GOPATH`.) - Relative to the input file: - protoc --go_out=paths=source_relative:. inputs/x.proto - # generate ./inputs/x.pb.go +```shell +protoc --go_out=paths=source_relative:. inputs/x.proto +# generate ./inputs/x.pb.go +``` ## Generated code ##