Add syntax highlighting for protobuf snippet (#13305)

* Add syntax highlighting for protobuf snippet

* Add semi-colon to fix colorization
pull/13308/head
Scott Addie 2019-07-15 16:28:51 -05:00 committed by GitHub
parent 60517d289a
commit 1237bc8b31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ For example, consider the *greet.proto* file used in [Get started with gRPC serv
* The `Greeter` service defines a `SayHello` call.
* `SayHello` sends a `HelloRequest` message and receives a `HelloResponse` message:
[!code-proto[](~/tutorials//grpc/grpc-start/sample/GrpcGreeter/Protos/greet.proto)]
[!code-protobuf[](~/tutorials//grpc/grpc-start/sample/GrpcGreeter/Protos/greet.proto)]
## Add a .proto file to a C\# app

View File

@ -5,7 +5,7 @@ package Greet;
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
rpc SayHello (HelloRequest) returns (HelloReply) {};
}
// The request message containing the user's name.