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
Copy file name to clipboardExpand all lines: sample/index.rst
+17-80Lines changed: 17 additions & 80 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ Comment Support
15
15
.. This is a comment that demonstrates comment support.
16
16
Comments should not appear in the final output.
17
17
18
-
Text Formatting Examples
19
-
~~~~~~~~~~~~~~~~~~~~~~~~~
18
+
Text Formatting
19
+
~~~~~~~~~~~~~~~
20
20
21
21
.. rest-example::
22
22
@@ -26,37 +26,17 @@ Text Formatting Examples
26
26
27
27
This text has :strike:`strike` formatting and :del:`deleted text` as well.
28
28
29
-
Colored Text
30
-
~~~~~~~~~~~~
31
-
32
-
.. rest-example::
33
-
34
29
The builder supports colored text using `sphinxcontrib-text-styles <https://sphinxcontrib-text-styles.readthedocs.io/>`_:
35
30
36
31
This is :text-red:`red text`, :text-blue:`blue text`, :text-green:`green text`, :text-yellow:`yellow text`, :text-orange:`orange text`, :text-purple:`purple text`, :text-pink:`pink text`, :text-brown:`brown text`, and :text-gray:`gray text`.
37
32
38
-
Background Colors
39
-
~~~~~~~~~~~~~~~~~~
40
-
41
-
.. rest-example::
42
-
43
33
The builder also supports background colors using `sphinxcontrib-text-styles <https://sphinxcontrib-text-styles.readthedocs.io/>`_:
44
34
45
35
This is :bg-red:`red background text`, :bg-blue:`blue background text`, :bg-green:`green background text`, :bg-yellow:`yellow background text`, :bg-orange:`orange background text`, :bg-purple:`purple background text`, :bg-pink:`pink background text`, :bg-brown:`brown background text`, and :bg-gray:`gray background text`.
46
36
47
-
Other Text Styles
48
-
~~~~~~~~~~~~~~~~~~
49
-
50
-
.. rest-example::
51
-
52
37
The builder supports additional text styles: :text-bold:`bold text`, :text-italic:`italic text`, :text-mono:`monospace text`, :text-strike:`strikethrough text`, and :text-underline:`underlined text`.
53
38
54
-
Keyboard Shortcuts
55
-
~~~~~~~~~~~~~~~~~~
56
-
57
-
.. rest-example::
58
-
59
-
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.
39
+
The builder supports keyboard shortcuts using the standard ``:kbd:`` role: Press :kbd:`Ctrl+C` to copy, :kbd:`Ctrl+V` to paste.
0 commit comments