From 38ce4c0d416bea62e484f56a73eb3a071559b8c0 Mon Sep 17 00:00:00 2001 From: Jason Kridner <jkridner@beagleboard.org> Date: Sun, 18 Dec 2022 00:10:35 -0500 Subject: [PATCH] Update rst-cheat-sheet.rst --- intro/contribution/rst-cheat-sheet.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/intro/contribution/rst-cheat-sheet.rst b/intro/contribution/rst-cheat-sheet.rst index 47818fcb..b4240078 100644 --- a/intro/contribution/rst-cheat-sheet.rst +++ b/intro/contribution/rst-cheat-sheet.rst @@ -271,6 +271,25 @@ Annotations Output ------ +.. callout:: + + .. code-block:: python + + import numpy as np # <1> + import math # <2> + + .. annotations:: + + <1> Comment #1 + + <2> Comment #2 + +.. important:: + + In the example, I inserted the invisible UTF character U+FEFF after the opening ``<`` to avoid it being + interpreted as a callout symbol. Be sure to remove that character if you attempt to copy-and-paste the + example. + More ==== -- GitLab