Skip to content

Commit 1c23849

Browse files
committed
bug #12244 Fix rendering of error code block (jdreesen)
This PR was merged into the 3.4 branch. Discussion ---------- Fix rendering of error code block This is [how it looks](https://symfony.com/doc/3.4/frontend/encore/simple-example.html#using-sass-less-stylus) currently: ![grafik](https://user-images.githubusercontent.com/424602/63836104-36418480-c979-11e9-9ca7-5bf8826adaa6.png) `sass-loader@^7.0.1` is blue because it is currently rendered as a `mailto:...` link. Commits ------- 1953f73 Fix rendering of error code block
2 parents 8c0ca22 + 1953f73 commit 1c23849

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: frontend/encore/simple-example.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,10 @@ Then, tell Encore to enable the Sass pre-processor:
302302
Because you just changed your ``webpack.config.js`` file, you'll need to restart
303303
Encore. When you do, you'll see an error!
304304

305-
> Error: Install sass-loader & node-sass to use enableSassLoader()
306-
> yarn add sass-loader@^7.0.1 node-sass --dev
305+
.. code-block:: terminal
306+
307+
> Error: Install sass-loader & node-sass to use enableSassLoader()
308+
> yarn add sass-loader@^7.0.1 node-sass --dev
307309
308310
Encore supports many features. But, instead of forcing all of them on you, when
309311
you need a feature, Encore will tell you what you need to install. Run:

0 commit comments

Comments
 (0)