Skip to content

Commit

Permalink
fix c++ style in embedded content
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaileychess committed Jan 10, 2025
1 parent 569e6cb commit 34f0728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/languages/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ NOTE: The examples below are also in the `grpc/samples/greeter` directory.

We will illustrate usage with the following schema:

``` title="grpc/samples/greeter/greeter.fbs"
```c++ title="grpc/samples/greeter/greeter.fbs"
--8<-- "https://raw.githubusercontent.com/google/flatbuffers/refs/heads/master/grpc/samples/greeter/greeter.fbs"
```

Expand All @@ -660,13 +660,13 @@ When we run `flatc`, we pass in the `--grpc` option and generage an additional

Example server code looks like this:

``` title="grpc/samples/greeter/server.cpp"
```c++ title="grpc/samples/greeter/server.cpp"
--8<-- "https://raw.githubusercontent.com/google/flatbuffers/refs/heads/master/grpc/samples/greeter/server.cpp"
```

Example client code looks like this:

``` title="grpc/samples/greeter/client.cpp"
```c++ title="grpc/samples/greeter/client.cpp"
--8<-- "https://raw.githubusercontent.com/google/flatbuffers/refs/heads/master/grpc/samples/greeter/client.cpp"
```

0 comments on commit 34f0728

Please sign in to comment.