Skip to content

Commit 8787763

Browse files
committed
Make some contents more consistent
1 parent 9f89556 commit 8787763

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

components/console/helpers/table.rst

+11-7
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ You can add a table separator anywhere in the output by passing an instance of
6565
['80-902734-1-6', 'And Then There Were None', 'Agatha Christie'],
6666
]);
6767

68+
This outputs:
69+
6870
.. code-block:: terminal
6971
7072
+---------------+--------------------------+------------------+
@@ -87,6 +89,8 @@ You can optionally display titles at the top and the bottom of the table::
8789
$table->setFooterTitle('Page 1/2');
8890
$table->render();
8991

92+
This outputs:
93+
9094
.. code-block:: terminal
9195
9296
+---------------+----------- Books --------+------------------+
@@ -124,7 +128,7 @@ argument is the column width::
124128
$table->setColumnWidth(2, 30);
125129
$table->render();
126130

127-
The output of this command will be:
131+
This outputs:
128132

129133
.. code-block:: terminal
130134
@@ -151,7 +155,7 @@ If you prefer to wrap long contents in multiple rows, use the
151155
$table->setColumnMaxWidth(1, 10);
152156
$table->render();
153157

154-
The output of this command will be:
158+
This outputs:
155159

156160
.. code-block:: terminal
157161
@@ -174,7 +178,7 @@ via the :method:`Symfony\\Component\\Console\\Helper\\Table::setVertical` method
174178
$table->setVertical();
175179
$table->render();
176180

177-
The output of this command will be:
181+
This outputs:
178182

179183
.. code-block:: terminal
180184
@@ -366,7 +370,7 @@ To make a table cell that spans multiple columns you can use a :class:`Symfony\\
366370
;
367371
$table->render();
368372

369-
This results in:
373+
This outputs:
370374

371375
.. code-block:: terminal
372376
@@ -389,7 +393,7 @@ This results in:
389393
]);
390394
// ...
391395

392-
This generates:
396+
This outputs:
393397

394398
.. code-block:: terminal
395399
@@ -468,7 +472,7 @@ The only requirement to append rows is that the table must be rendered inside a
468472
}
469473
}
470474

471-
This will display the following table in the terminal:
475+
This outputs:
472476

473477
.. code-block:: terminal
474478
@@ -489,7 +493,7 @@ This will display the following table in the terminal:
489493
$table->render();
490494
// ...
491495

492-
This will display:
496+
This outputs:
493497

494498
.. code-block:: terminal
495499

0 commit comments

Comments
 (0)