classref: Use code markup for default values/overrides

Sync with godotengine/godot#35357.
Fixes #3071.
This commit is contained in:
Rémi Verschelde
2020-01-20 12:41:27 +01:00
parent 0ac1767a3f
commit 782dd64a19
410 changed files with 9572 additions and 9572 deletions

View File

@@ -23,13 +23,13 @@ Comment nodes can be resized so they encompass a group of nodes.
Properties
----------
+-------------------------------+--------------------------------------------------------------------+---------------------+
| :ref:`String<class_String>` | :ref:`description<class_VisualScriptComment_property_description>` | "" |
+-------------------------------+--------------------------------------------------------------------+---------------------+
| :ref:`Vector2<class_Vector2>` | :ref:`size<class_VisualScriptComment_property_size>` | Vector2( 150, 150 ) |
+-------------------------------+--------------------------------------------------------------------+---------------------+
| :ref:`String<class_String>` | :ref:`title<class_VisualScriptComment_property_title>` | "Comment" |
+-------------------------------+--------------------------------------------------------------------+---------------------+
+-------------------------------+--------------------------------------------------------------------+-------------------------+
| :ref:`String<class_String>` | :ref:`description<class_VisualScriptComment_property_description>` | ``""`` |
+-------------------------------+--------------------------------------------------------------------+-------------------------+
| :ref:`Vector2<class_Vector2>` | :ref:`size<class_VisualScriptComment_property_size>` | ``Vector2( 150, 150 )`` |
+-------------------------------+--------------------------------------------------------------------+-------------------------+
| :ref:`String<class_String>` | :ref:`title<class_VisualScriptComment_property_title>` | ``"Comment"`` |
+-------------------------------+--------------------------------------------------------------------+-------------------------+
Property Descriptions
---------------------
@@ -39,7 +39,7 @@ Property Descriptions
- :ref:`String<class_String>` **description**
+-----------+------------------------+
| *Default* | "" |
| *Default* | ``""`` |
+-----------+------------------------+
| *Setter* | set_description(value) |
+-----------+------------------------+
@@ -54,13 +54,13 @@ The text inside the comment node.
- :ref:`Vector2<class_Vector2>` **size**
+-----------+---------------------+
| *Default* | Vector2( 150, 150 ) |
+-----------+---------------------+
| *Setter* | set_size(value) |
+-----------+---------------------+
| *Getter* | get_size() |
+-----------+---------------------+
+-----------+-------------------------+
| *Default* | ``Vector2( 150, 150 )`` |
+-----------+-------------------------+
| *Setter* | set_size(value) |
+-----------+-------------------------+
| *Getter* | get_size() |
+-----------+-------------------------+
The comment node's size (in pixels).
@@ -71,7 +71,7 @@ The comment node's size (in pixels).
- :ref:`String<class_String>` **title**
+-----------+------------------+
| *Default* | "Comment" |
| *Default* | ``"Comment"`` |
+-----------+------------------+
| *Setter* | set_title(value) |
+-----------+------------------+