diff --git a/ortools/sat/doc/test.md b/ortools/sat/doc/test.md index 88435daf56..e57c320b9b 100644 --- a/ortools/sat/doc/test.md +++ b/ortools/sat/doc/test.md @@ -17,7 +17,7 @@ boolean variable *b* and two half-reified constraints, shown below:

Python

-
+```python
 """Link integer constraints together."""
 
 from __future__ import absolute_import
@@ -82,11 +82,11 @@ def ChannelingSampleSat():
 
 
 ChannelingSampleSat()
-
+```

C++

-
+    ```[cpp]
 #include "ortools/sat/cp_model.h"
 #include "ortools/sat/model.h"
 #include "ortools/sat/sat_parameters.pb.h"
@@ -137,7 +137,7 @@ int main() {
 
   return EXIT_SUCCESS;
 }
-
+```
This displays the following: