Skip to content

Commit 34f0728

Browse files
committed
fix c++ style in embedded content
1 parent 569e6cb commit 34f0728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/languages/cpp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ NOTE: The examples below are also in the `grpc/samples/greeter` directory.
651651

652652
We will illustrate usage with the following schema:
653653

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

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

661661
Example server code looks like this:
662662

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

667667
Example client code looks like this:
668668

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

0 commit comments

Comments
 (0)