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

@@ -24,13 +24,13 @@ Tutorials
Properties
----------
+---------------------------+------------------------------------+-----+
| :ref:`float<class_float>` | :ref:`x<class_Vector3_property_x>` | 0.0 |
+---------------------------+------------------------------------+-----+
| :ref:`float<class_float>` | :ref:`y<class_Vector3_property_y>` | 0.0 |
+---------------------------+------------------------------------+-----+
| :ref:`float<class_float>` | :ref:`z<class_Vector3_property_z>` | 0.0 |
+---------------------------+------------------------------------+-----+
+---------------------------+------------------------------------+---------+
| :ref:`float<class_float>` | :ref:`x<class_Vector3_property_x>` | ``0.0`` |
+---------------------------+------------------------------------+---------+
| :ref:`float<class_float>` | :ref:`y<class_Vector3_property_y>` | ``0.0`` |
+---------------------------+------------------------------------+---------+
| :ref:`float<class_float>` | :ref:`z<class_Vector3_property_z>` | ``0.0`` |
+---------------------------+------------------------------------+---------+
Methods
-------
@@ -163,9 +163,9 @@ Property Descriptions
- :ref:`float<class_float>` **x**
+-----------+-----+
| *Default* | 0.0 |
+-----------+-----+
+-----------+---------+
| *Default* | ``0.0`` |
+-----------+---------+
The vector's X component. Also accessible by using the index position ``[0]``.
@@ -175,9 +175,9 @@ The vector's X component. Also accessible by using the index position ``[0]``.
- :ref:`float<class_float>` **y**
+-----------+-----+
| *Default* | 0.0 |
+-----------+-----+
+-----------+---------+
| *Default* | ``0.0`` |
+-----------+---------+
The vector's Y component. Also accessible by using the index position ``[1]``.
@@ -187,9 +187,9 @@ The vector's Y component. Also accessible by using the index position ``[1]``.
- :ref:`float<class_float>` **z**
+-----------+-----+
| *Default* | 0.0 |
+-----------+-----+
+-----------+---------+
| *Default* | ``0.0`` |
+-----------+---------+
The vector's Z component. Also accessible by using the index position ``[2]``.