diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 8d3a68bf..5a40c4f3 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -66,5 +66,10 @@ justify-content: stretch; } + p.generic-code-block { + font-family: monospace; + white-space: pre; +} + {% endblock %} \ No newline at end of file diff --git a/docs/installation-instructions.rst b/docs/installation-instructions.rst index 5ae24530..976764f8 100644 --- a/docs/installation-instructions.rst +++ b/docs/installation-instructions.rst @@ -45,7 +45,7 @@ Integration in Arduino IDE Paste the following URL into the *Additional boards manager URLs* input field under *File > Preferences* to add Infineon's XMC microcontroller boards to the Arduino IDE. -.. code-block:: shell +.. rst-class:: generic-code-block https://github.com/Infineon/XMC-for-Arduino/releases/latest/download/package_infineon_index.json .. image:: img/preference_JSON.png