You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The builder supports keyboard shortcuts using the standard ``:kbd:`` role: Press :kbd:`Ctrl+C` to copy, :kbd:`Ctrl+V` to paste, and :kbd:`Ctrl+Z` to undo.
60
60
61
-
Note Admonition
62
-
~~~~~~~~~~~~~~~~
61
+
Admonitions
62
+
~~~~~~~~~~~
63
63
64
64
.. rest-example::
65
65
66
66
.. note::
67
67
68
-
This is an important note that demonstrates the note admonition support.
69
-
70
-
Some nested content:
71
-
72
-
* First level item in note
73
-
* Another first level item
74
-
* Another first level item
75
-
76
-
* Second level nested in note
77
-
* Another second level item
78
-
79
-
* Third level nested in note (deep!)
80
-
* Another third level item
81
-
82
-
* Fourth level nested in note (very deep!)
83
-
* Another fourth level item
84
-
* Another fourth level item
85
-
86
-
* Fifth level nested in note (extremely deep!)
87
-
* Another fifth level item
88
-
89
-
* Back to fourth level in note
90
-
91
-
* Back to third level in note
92
-
93
-
* Back to second level in note
94
-
95
-
* Back to first level in note
96
-
97
-
Warning Admonition
98
-
~~~~~~~~~~~~~~~~~~
99
-
100
-
.. rest-example::
68
+
This is a note that demonstrates the note admonition support.
101
69
102
70
.. warning::
103
71
104
72
This is a warning that demonstrates the warning admonition support.
105
73
106
-
.. code-block:: python
107
-
108
-
"""Python code nested in an admonition."""
109
-
110
-
111
-
defhello_world() -> int:
112
-
"""Return the answer."""
113
-
return42
114
-
115
-
116
-
hello_world()
117
-
118
-
.. warning::
119
-
120
-
This is a warning that demonstrates the warning admonition support.
121
-
122
-
.. warning::
123
-
124
-
This is a warning that demonstrates the nested admonition support.
125
-
126
-
.. warning::
127
-
128
-
This is a warning that demonstrates the even deeper admonition support.
129
-
130
-
Various Admonitions
131
-
~~~~~~~~~~~~~~~~~~~
132
-
133
-
.. rest-example::
134
-
135
74
.. tip::
136
75
137
76
This is a helpful tip that demonstrates the tip admonition support.
@@ -162,8 +101,8 @@ Various Admonitions
162
101
163
102
.. admonition:: Custom Admonition Title
164
103
165
-
This is a generic admonition with a custom title. You can use this for
166
-
any type of callout that doesn't fit the standard admonition types.
104
+
This is a generic admonition with a custom title.
105
+
You can use this for any type of callout that doesn't fit the standard admonition types.
167
106
168
107
Collapsible Content
169
108
~~~~~~~~~~~~~~~~~~~
@@ -176,12 +115,8 @@ Collapsible Content
176
115
177
116
It supports **all the same formatting** as regular content.
178
117
179
-
.. note::
180
-
181
-
You can even nest admonitions inside collapsible sections!
0 commit comments