Skip to content

Commit ae096dd

Browse files
committed
minor #9735 Turn on syntax highlight (lex111)
This PR was submitted for the 3.3 branch but it was merged into the 3.4 branch instead (closes #9735). Discussion ---------- Turn on syntax highlight Because the syntax diff is not used in fact, it's just a code highlight, similar to the example on the [React page](https://symfony.com/doc/3.3/frontend/encore/reactjs.html) Commits ------- 3fc6b05 Turn on syntax highlight
2 parents 8b0087a + 3fc6b05 commit ae096dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/encore/typescript.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Want to use `TypeScript`_? No problem! First, install the dependencies:
99
1010
Then, activate the ``ts-loader`` in ``webpack.config.js``:
1111

12-
.. code-block:: diff
12+
.. code-block:: javascript
1313
1414
// webpack.config.js
1515
// ...
@@ -48,7 +48,7 @@ process, which can speedup compile time. To enable it, install the plugin:
4848
4949
Then enable it by calling:
5050

51-
.. code-block:: diff
51+
.. code-block:: javascript
5252
5353
// webpack.config.js
5454

0 commit comments

Comments
 (0)