From 1953f730435608f95ce7ffe97ca7f51949141a50 Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Wed, 28 Aug 2019 09:48:10 +0200 Subject: [PATCH] Fix rendering of error code block --- frontend/encore/simple-example.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/encore/simple-example.rst b/frontend/encore/simple-example.rst index 44eca39f0fa..a0ba5aa063f 100644 --- a/frontend/encore/simple-example.rst +++ b/frontend/encore/simple-example.rst @@ -302,8 +302,10 @@ Then, tell Encore to enable the Sass pre-processor: Because you just changed your ``webpack.config.js`` file, you'll need to restart Encore. When you do, you'll see an error! -> Error: Install sass-loader & node-sass to use enableSassLoader() -> yarn add sass-loader@^7.0.1 node-sass --dev +.. code-block:: terminal + + > Error: Install sass-loader & node-sass to use enableSassLoader() + > yarn add sass-loader@^7.0.1 node-sass --dev Encore supports many features. But, instead of forcing all of them on you, when you need a feature, Encore will tell you what you need to install. Run: