From 9db8705856cec80f07d6c029f8eafb9caae3e6e3 Mon Sep 17 00:00:00 2001 From: Gary Date: Tue, 30 Jul 2019 11:21:20 +0200 Subject: [PATCH] Change terminal for console In Symfony Docs if you use code block terminal the text color change "New property name (press " is different to "to stop adding fields):" Example : https://symfony.com/doc/current/doctrine.html#creating-an-entity-class With code block console this color difference is not applied. --- doctrine.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doctrine.rst b/doctrine.rst index 01b7682d7fe..0f3cb857f7c 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -84,7 +84,7 @@ you need a ``Product`` object to represent those products. You can use the ``make:entity`` command to create this class and any fields you need. The command will ask you some questions - answer them like done below: -.. code-block:: terminal +.. code-block:: console $ php bin/console make:entity @@ -246,7 +246,7 @@ But what if you need to add a new field property to ``Product``, like a ``description``? You can edit the class to add the new property. But, you can also use ``make:entity`` again: -.. code-block:: terminal +.. code-block:: console $ php bin/console make:entity