fix c++ style in embedded content

This commit is contained in:
Derek Bailey
2025-01-10 12:57:09 -08:00
parent 569e6cb461
commit 34f0728ea2

View File

@@ -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"
```
@@ -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"
```