Skip to content

Commit 2f900ca

Browse files
committed
Remove unnecessary <br/> from tables; replace with grid tables
1 parent 7699389 commit 2f900ca

File tree

7 files changed

+111
-49
lines changed

7 files changed

+111
-49
lines changed

docs/general/color-conversion.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,13 @@ For hex triplets, the alpha channel defaults to 1.0.
7373

7474
#### Parameters
7575

76-
| Parameter | Type | Description |
77-
| ----------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
78-
| `hexString` | String | Hex triplet (6 digits, no alpha channel) or quartet (8 digits, includes alpha channel) containing only numerals or characters A–F.<br/><br/>Optional leading characters 0x, 0X, or # will be ignored.<br/>Characters beyond 8 digits will be ignored. |
76+
+-------------------------------------------------------------------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------------+
77+
| Parameter | Type | Description |
78+
+=======================================================================================================+========+====================================================================================================================================+
79+
| `hexString` | String | Hex triplet (6 digits, no alpha channel) or quartet (8 digits, includes alpha channel) containing only numerals or characters A–F. |
80+
| | | |
81+
| Optional leading characters 0x, 0X, or # will be ignored. Characters beyond 8 digits will be ignored. | | |
82+
+-------------------------------------------------------------------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------------+
7983

8084
#### Returns
8185

docs/layer/sub-objects.md

+24-10
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,13 @@ The `index` value will have After Effects finds the effect by its index in the E
5252

5353
#### Parameters
5454

55-
| Parameter | Type | Description |
56-
| ------------------ | ----------------- | ---------------------------- |
57-
| `name`<br/>`index` | String<br/>Number | Effect name or index to get. |
55+
+-----------+--------+------------------------------+
56+
| Parameter | Type | Description |
57+
+===========+========+==============================+
58+
| `name` | String | Effect name or index to get. |
59+
| | | |
60+
| `index` | Number | |
61+
+-----------+--------+------------------------------+
5862

5963
#### Returns
6064

@@ -90,9 +94,13 @@ The `index` value will have After Effects finds the mask by its index in the Tim
9094

9195
#### Parameters
9296

93-
| Parameter | Type | Description |
94-
| ------------------ | ----------------- | ---------------------------- |
95-
| `name`<br/>`index` | String<br/>Number | Effect name or index to get. |
97+
+-----------+--------+------------------------------+
98+
| Parameter | Type | Description |
99+
+===========+========+==============================+
100+
| `name` | String | Effect name or index to get. |
101+
| | | |
102+
| `index` | Number | |
103+
+-----------+--------+------------------------------+
96104

97105
#### Returns
98106

@@ -128,10 +136,16 @@ Returns the bounding box of the layer (or the layer's source).
128136

129137
#### Parameters
130138

131-
| Parameter | Type | Description |
132-
| -------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
133-
| `t` | Number | Optional. The specified time (in comp seconds) to apply the smoothing filter to. Defaults to `time` (the current comp time, in seconds). |
134-
| includeExtents | Boolean | Optional. Only applies to shape layers and paragraph text layers.<br/><ul><li>For shape layers: Increases the size of the layer bounds as necessary.</li><li>For paragraph text layers: Returns the bounds of the paragraph box</li></ul>Defaults to `false`. |
139+
+------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------+
140+
| Parameter | Type | Description |
141+
+==================+=========+==========================================================================================================================================+
142+
| `t` | Number | Optional. The specified time (in comp seconds) to apply the smoothing filter to. Defaults to `time` (the current comp time, in seconds). |
143+
+------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------+
144+
| `includeExtents` | Boolean | Optional. Only applies to shape layers and paragraph text layers. Defaults to `false`. |
145+
| | | |
146+
| | | - For shape layers: Increases the size of the layer bounds as necessary. |
147+
| | | - For paragraph text layers: Returns the bounds of the paragraph box |
148+
+------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------+
135149

136150
#### Returns
137151

docs/objects/comp.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,17 @@ If using the `otherLayer, relIndex` call, this retrieves the layer that is `relI
259259

260260
#### Parameters
261261

262-
| Parameter | Type | Description |
263-
| ------------------ | -------------------------- | ------------------------------------------------------------ |
264-
| `index`<br/>`name` | Number<br/>String | Layer name or index to get. |
265-
| `otherLayer` | [Layer](../layer/layer.md) | The "other" layer to start getting layers relative to |
266-
| `relIndex` | Number | The number of layers to move above or below the `otherLayer` |
262+
+--------------+----------------------------+--------------------------------------------------------------+
263+
| Parameter | Type | Description |
264+
+==============+============================+==============================================================+
265+
| `index` | Number | Layer name or index to get. |
266+
| | | |
267+
| `name` | String | |
268+
+--------------+----------------------------+--------------------------------------------------------------+
269+
| `otherLayer` | [Layer](../layer/layer.md) | The "other" layer to start getting layers relative to |
270+
+--------------+----------------------------+--------------------------------------------------------------+
271+
| `relIndex` | Number | The number of layers to move above or below the `otherLayer` |
272+
+--------------+----------------------------+--------------------------------------------------------------+
267273

268274
#### Returns
269275

docs/objects/effect.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ This method can be called using *either* the property's `name` or its `index`.
4141

4242
#### Parameters
4343

44-
| Parameter | Type | Description |
45-
| ------------------ | ----------------- | --------------------------------------------- |
46-
| `name`<br/>`index` | String<br/>Number | Property name or index to access property by. |
44+
+-----------+--------+-----------------------------------------------+
45+
| Parameter | Type | Description |
46+
+===========+========+===============================================+
47+
| `name` | String | Property name or index to access property by. |
48+
| | | |
49+
| `index` | Number | |
50+
+-----------+--------+-----------------------------------------------+
4751

4852
#### Returns
4953

docs/objects/marker-property.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,15 @@ If more than one marker has the same name, this method returns the marker that o
5353

5454
#### Parameters
5555

56-
| Parameter | Type | Description |
57-
| ------------------ | ----------------- | ----------------------------------------- |
58-
| `index` | Number | The marker index to get |
59-
| `name`<br/>`index` | String<br/>Number | Marker name or index to access marker by. |
56+
+-----------+--------+-------------------------------------------+
57+
| Parameter | Type | Description |
58+
+===========+========+===========================================+
59+
| `index` | Number | The marker index to get |
60+
+-----------+--------+-------------------------------------------+
61+
| `name` | String | Marker name or index to access marker by. |
62+
| | | |
63+
| `index` | Number | |
64+
+-----------+--------+-------------------------------------------+
6065

6166
#### Type
6267

docs/objects/path-property.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,18 @@ The points and tangents of the same path can be passed into `createPath()` with
4646

4747
#### Parameters
4848

49-
| Parameter | Type | Description |
50-
| ------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51-
| `points` | Array of number pair arrays | Optional. An array of number pair arrays representing the `[x, y]` coordinates of the points. The array must contain at least 1 item, and can be of any greater length. Defaults to `[[0,0], [100,0], [100,100], [0,100]]`. |
52-
| `inTangents` | Array of number pair arrays | Optional. An array of number pair arrays representing their `[x, y]` *offset* coordinates. The length of this array must be exactly the same as the `points` parameter. Defaults to `[]`.<br/><br/>Coordinate values are offset relative to the parent point's coordinates. i.e. The value `[0, 0]` creates no curvature at the incoming tangent. |
53-
| `outTangents` | Array of number pair arrays | Optional. See `inTangents`. Defaults to `[]`. |
54-
| `is_closed` | Boolean | Optional. Defaults to `true`. |
49+
+---------------+-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
50+
| Parameter | Type | Description |
51+
+===============+=============================+=============================================================================================================================================================================================================================+
52+
| `points` | Array of number pair arrays | Optional. An array of number pair arrays representing the `[x, y]` coordinates of the points. The array must contain at least 1 item, and can be of any greater length. Defaults to `[[0,0], [100,0], [100,100], [0,100]]`. |
53+
+---------------+-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
54+
| `inTangents` | Array of number pair arrays | Optional. An array of number pair arrays representing their `[x, y]` *offset* coordinates. The length of this array must be exactly the same as the `points` parameter. Defaults to `[]`. |
55+
| | | |
56+
| | | Coordinate values are offset relative to the parent point's coordinates. i.e. The value `[0, 0]` creates no curvature at the incoming tangent. |
57+
+---------------+-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
58+
| `outTangents` | Array of number pair arrays | Optional. See `inTangents`. Defaults to `[]`. |
59+
| `is_closed` | Boolean | Optional. Defaults to `true`. |
60+
+---------------+-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
5561

5662
#### Returns
5763

0 commit comments

Comments
 (0)