diff --git a/doc/contributing/source/models.rst b/doc/contributing/source/models.rst
index 04b7b5648..50d35dce0 100644
--- a/doc/contributing/source/models.rst
+++ b/doc/contributing/source/models.rst
@@ -337,7 +337,7 @@ The following is the general outline of a module documentation in ns-3:
Examples
~~~~~~~~
-For many submissions, it will be important to include at least one example that exercises the new code, so the reviewer understands how it is intended to be used. For final submission, please consider to add as many examples as you can that will help new users of your code. The samples/ and examples/ directories are places for these files.
+For many submissions, it will be important to include at least one example that exercises the new code, so the reviewer understands how it is intended to be used. For final submission, please consider to add as many examples as you can that will help new users of your code. The ``samples/`` and ``examples/`` directories are places for these files.
Tests
~~~~~
diff --git a/src/core/model/rng-stream.cc b/src/core/model/rng-stream.cc
index 83a81d29d..5a5078a34 100644
--- a/src/core/model/rng-stream.cc
+++ b/src/core/model/rng-stream.cc
@@ -98,7 +98,7 @@ const Matrix A2p0 = {
* \param [in] s Second multiplicative argument.
* \param [in] c Additive argument.
* \param [in] m Modulus.
- * \returns (a*s +c) MOD m
+ * \returns ``(a*s +c) MOD m``
*/
double MultModM (double a, double s, double c, double m)
{
diff --git a/src/network/model/packet-tag-list.h b/src/network/model/packet-tag-list.h
index f9ff5a6c5..152918dc3 100644
--- a/src/network/model/packet-tag-list.h
+++ b/src/network/model/packet-tag-list.h
@@ -69,18 +69,18 @@ class Tag;
* @enddot
*
* - Tags are stored in serialized form in a tree of TagData
- * structures. (T1-T7 in the diagram)
+ * structures. (``T1-T7`` in the diagram)
*
* - Each TagData points (\c next pointers in the diagram)
* toward the root of the tree, which is a null pointer.
*
* - \c count is the number of incoming pointers to this
* TagData. Branch points, where branches merge or join, have
- * count \> 1 (\c T3, \c T5); successive links along
- * a branch have count = 1 (\c T1, \c T2, \c T4, \c T6, \c T7).
+ * ``count \> 1`` (\c T3, \c T5); successive links along
+ * a branch have ``count = 1`` (\c T1, \c T2, \c T4, \c T6, \c T7).
*
* - Each PacketTagList points to a specific TagData,
- * which is the most recent Tag added to the packet. (T5-T7)
+ * which is the most recent Tag added to the packet. (``T5-T7``)
*
* - Conceptually, therefore, each Packet has a PacketTagList which
* points to a singly-linked list of TagData.
diff --git a/src/topology-read/examples/topology-example-sim.cc b/src/topology-read/examples/topology-example-sim.cc
index 5d683e519..c1d31db3a 100644
--- a/src/topology-read/examples/topology-example-sim.cc
+++ b/src/topology-read/examples/topology-example-sim.cc
@@ -27,13 +27,13 @@
* Example of TopologyReader: read in a topology in a specified format.
*
* This example can be used with the following parameters:
- * - --format=Inet --input=src/topology-read/examples/Inet_small_toposample.txt
- * - --format=Inet --input=src/topology-read/examples/Inet_toposample.txt
- * - --format=Orbis --input=src/topology-read/examples/Orbis_toposample.txt
- * - --format=Rocket
- * --input=src/topology-read/examples/RocketFuel_sample_4755.r0.cch_maps.txt
- * - --format=Rocket
- * --input=src/topology-read/examples/RocketFuel_toposample_1239_weights.txt
+ * - ``--format=Inet --input=src/topology-read/examples/Inet_small_toposample.txt``
+ * - ``--format=Inet --input=src/topology-read/examples/Inet_toposample.txt``
+ * - ``--format=Orbis --input=src/topology-read/examples/Orbis_toposample.txt``
+ * - ``--format=Rocket
+ * --input=src/topology-read/examples/RocketFuel_sample_4755.r0.cch_maps.txt``
+ * - ``--format=Rocket
+ * --input=src/topology-read/examples/RocketFuel_toposample_1239_weights.txt``
*/
using namespace ns3;