Skip to content

Commit

Permalink
docs: add generic block for links etc. & fix link.
Browse files Browse the repository at this point in the history
  • Loading branch information
ederjc committed Sep 17, 2024
1 parent f2a4dcc commit 32d2983
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,10 @@
justify-content: stretch;
}

p.generic-code-block {
font-family: monospace;
white-space: pre;
}

</style>
{% endblock %}
2 changes: 1 addition & 1 deletion docs/installation-instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32d2983

Please sign in to comment.