Skip to content

Commit 0cb4f73

Browse files
Aaronongdsnet
authored andcommitted
README: fix markdown formatting issue
Fixes #635
1 parent 1325a05 commit 0cb4f73

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,19 @@ be:
8383

8484
- Relative to the import path:
8585

86-
protoc --go_out=. inputs/x.proto
87-
# writes ./github.com/golang/protobuf/p/x.pb.go
86+
```shell
87+
protoc --go_out=. inputs/x.proto
88+
# writes ./github.com/golang/protobuf/p/x.pb.go
89+
```
8890

8991
(This can work well with `--go_out=$GOPATH`.)
9092

9193
- Relative to the input file:
9294

93-
protoc --go_out=paths=source_relative:. inputs/x.proto
94-
# generate ./inputs/x.pb.go
95+
```shell
96+
protoc --go_out=paths=source_relative:. inputs/x.proto
97+
# generate ./inputs/x.pb.go
98+
```
9599

96100
## Generated code ##
97101

0 commit comments

Comments
 (0)