Просмотр исходного кода

README: fix markdown formatting issue

Fixes #635
Aaron Ong 7 лет назад
Родитель
Сommit
0cb4f73256
1 измененных файлов с 8 добавлено и 4 удалено
  1. 8 4
      README.md

+ 8 - 4
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 ##