diff --git a/intro/contribution/rst-cheat-sheet.rst b/intro/contribution/rst-cheat-sheet.rst index 8775e156efc23bb387cd9f87ed3b7dbe770866c0..aa3b388b4cbda73b17795c5a39451237249b359e 100644 --- a/intro/contribution/rst-cheat-sheet.rst +++ b/intro/contribution/rst-cheat-sheet.rst @@ -247,14 +247,14 @@ Annotations .. code-block:: python <2> - import numpy as np # <1> <3> - import math # <> + import numpy as np # ``<1>`` <3> + import math # ``<2>`` .. annotations:: <4> - <1> Comment #1 <5> + ``<1>`` Comment #1 <5> - <2> Comment #2 + ``<2>`` Comment #2 .. annotations:: @@ -262,11 +262,11 @@ Annotations <2> Create a normal block for what you want to annotate - <3> Add <number> everywhere you want to annotate. Put it under a comment block if you want the code to run when copied directly. + <3> Add ``<number>`` everywhere you want to annotate. Put it under a comment block if you want the code to run when copied directly. <4> Create an `annotations` block to hold your callout comments - <5> Create an entry, separating each with a blank line and prefixing them with <number> + <5> Create an entry, separating each with a blank line and prefixing them with ``<number>`` Output ------