* Fixup CPP documentation's markdown errors

Note that I couldn't get the ~~~{.cpp} method to work,
so I switched to using ```cpp which did work.

* Fixup C++ docs, typo in repeated code example

Co-authored-by: Paul Harris <paulharris@computer.org>
This commit is contained in:
paulharris
2021-07-09 04:29:00 +08:00
committed by GitHub
parent 8ab35b2a5f
commit 8f8196e136
2 changed files with 52 additions and 51 deletions

View File

@@ -1820,7 +1820,7 @@ Here is a repetition of these lines, to help highlight them more clearly:
<div class="language-cpp">
~~~{.cpp}
monster_builder.add_equipped_type(Equipment_Weapon); // Union type
monster_builder.add_equipped(axe); // Union data
monster_builder.add_equipped(axe.Union()); // Union data
~~~
</div>
<div class="language-java">