From 395911697209b844514991ffbda4496164688389 Mon Sep 17 00:00:00 2001 From: Jason Kridner <jkridner@beagleboard.org> Date: Sat, 17 Dec 2022 23:40:11 -0500 Subject: [PATCH] Update rst-cheat-sheet.rst --- intro/contribution/rst-cheat-sheet.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/intro/contribution/rst-cheat-sheet.rst b/intro/contribution/rst-cheat-sheet.rst index 8775e156..aa3b388b 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 ------ -- GitLab