aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-06 12:41:21 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-06 12:41:21 -0800
commite519a03a1f0fc36849a5b80192ae2815902ba82b (patch)
treefedfa3addc87fb36e06642698c3b54a74f858568 /doc/cpp
parent4ce5bd102ee20061482b1746ec5c5176fe213e43 (diff)
Small improvements to generated documentation
Diffstat (limited to 'doc/cpp')
-rw-r--r--doc/cpp/perf_notes.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cpp/perf_notes.md b/doc/cpp/perf_notes.md
index 805ead3638..c87557558d 100644
--- a/doc/cpp/perf_notes.md
+++ b/doc/cpp/perf_notes.md
@@ -10,9 +10,9 @@ If message k+1 in a stream does not rely on responses from message k, it's
possible to enable write batching by passing a WriteOptions argument to Write
with the buffer_hint set:
-```c++
+~~~{.cpp}
stream_writer->Write(message, WriteOptions().set_buffer_hint());
-```
+~~~
The write will be buffered until one of the following is true:
- the per-stream buffer is filled (controllable with the channel argument