Skip to content

Commit aa5e1cc

Browse files
committed
one minor thing
1 parent 8d8e403 commit aa5e1cc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

components/console/helpers/formatterhelper.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ you can write::
7878
$truncatedMessage = $formatter->truncate($message, 7);
7979
$output->writeln($truncatedMessage);
8080

81-
And the output will be::
81+
And the output will be:
82+
83+
.. code-block:: text
8284
8385
This is...
8486
@@ -93,7 +95,9 @@ from the end of the string::
9395

9496
$truncatedMessage = $formatter->truncate($message, -5);
9597

96-
This will result in::
98+
This will result in:
99+
100+
.. code-block:: text
97101
98102
This is a very long message, which should be trun...
99103

0 commit comments

Comments
 (0)