diff --git a/frontend/encore/installation.rst b/frontend/encore/installation.rst index eb4b82e8b45..bcd59f8395e 100644 --- a/frontend/encore/installation.rst +++ b/frontend/encore/installation.rst @@ -188,12 +188,12 @@ a system that you'll learn about soon: And finally, create an ``assets/controllers.json`` file, which also fits into the Stimulus system: -```json -{ - "controllers": [], - "entrypoints": [] -} -``` +.. code-block:: json + + { + "controllers": [], + "entrypoints": [] + } You'll customize and learn more about these files in :doc:`/frontend/encore/simple-example`. When you execute Encore, it will ask you to install a few more dependencies based