From e1593f62750c6d4fa9c6ee18646f156f1e6a57f9 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Sat, 5 May 2018 00:11:08 +0300 Subject: [PATCH] Turn on syntax highlight --- frontend/encore/typescript.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/encore/typescript.rst b/frontend/encore/typescript.rst index c3f3b443c81..14db0fac5a0 100644 --- a/frontend/encore/typescript.rst +++ b/frontend/encore/typescript.rst @@ -9,7 +9,7 @@ Want to use `TypeScript`_? No problem! First, install the dependencies: Then, activate the ``ts-loader`` in ``webpack.config.js``: -.. code-block:: diff +.. code-block:: javascript // webpack.config.js // ... @@ -48,7 +48,7 @@ process, which can speedup compile time. To enable it, install the plugin: Then enable it by calling: -.. code-block:: diff +.. code-block:: javascript // webpack.config.js