瀏覽代碼

Merge pull request #1760 from YeldhamDev/bbcode_strikethrough

Add strikethrough to the reference section in the BBCode page
Rémi Verschelde 6 年之前
父節點
當前提交
c7b749d04b
共有 1 個文件被更改,包括 31 次插入29 次删除
  1. 31 29
      tutorials/gui/bbcode_in_richtextlabel.rst

+ 31 - 29
tutorials/gui/bbcode_in_richtextlabel.rst

@@ -23,35 +23,37 @@ the intended fonts in the relevant properties:
 Reference
 Reference
 ---------
 ---------
 
 
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| Command         | Tag                                        | Description                                                  |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **bold**        | ``[b]{text}[/b]``                          | Makes {text} bold.                                           |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **italics**     | ``[i]{text}[/i]``                          | Makes {text} italics.                                        |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **underline**   | ``[u]{text}[/u]``                          | Makes {text} underline.                                      |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **code**        | ``[code]{text}[/code]``                    | Makes {text} monospace.                                      |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **center**      | ``[center]{text}[/center]``                | Makes {text} centered.                                       |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **right**       | ``[right]{text}[/right]``                  | Makes {text} right-aligned.                                  |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **fill**        | ``[fill]{text}[/fill]``                    | Makes {text} fill width.                                     |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **indent**      | ``[indent]{text}[/indent]``                | Increase indent level of {text}.                             |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **url**         | ``[url]{url}[/url]``                       | Show {url} as such.                                          |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **url (ref)**   | ``[url=<url>]{text}[/url]``                | Makes {text} reference <url>.                                |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **image**       | ``[img]{path}[/img]``                      | Insert image at resource {path}.                             |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **font**        | ``[font=<path>]{text}[/font]``             | Use custom font at <path> for {text}.                        |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
-| **color**       | ``[color=<code/name>]{text}[/color]``      | Change {text} color, use # format such as #ff00ff or name.   |
-+-----------------+--------------------------------------------+--------------------------------------------------------------+
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| Command           | Tag                                        | Description                                                  |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **bold**          | ``[b]{text}[/b]``                          | Makes {text} bold.                                           |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **italics**       | ``[i]{text}[/i]``                          | Makes {text} italics.                                        |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **underline**     | ``[u]{text}[/u]``                          | Makes {text} underline.                                      |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **strikethrough** | ``[s]{text}[/s]``                          | Makes {text} strikethrough.                                  |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **code**          | ``[code]{text}[/code]``                    | Makes {text} monospace.                                      |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **center**        | ``[center]{text}[/center]``                | Makes {text} centered.                                       |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **right**         | ``[right]{text}[/right]``                  | Makes {text} right-aligned.                                  |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **fill**          | ``[fill]{text}[/fill]``                    | Makes {text} fill width.                                     |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **indent**        | ``[indent]{text}[/indent]``                | Increase indent level of {text}.                             |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **url**           | ``[url]{url}[/url]``                       | Show {url} as such.                                          |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **url (ref)**     | ``[url=<url>]{text}[/url]``                | Makes {text} reference <url>.                                |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **image**         | ``[img]{path}[/img]``                      | Insert image at resource {path}.                             |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **font**          | ``[font=<path>]{text}[/font]``             | Use custom font at <path> for {text}.                        |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
+| **color**         | ``[color=<code/name>]{text}[/color]``      | Change {text} color, use # format such as #ff00ff or name.   |
++-------------------+--------------------------------------------+--------------------------------------------------------------+
 
 
 Built-in color names
 Built-in color names
 ~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~