docs: Suppress highlighting errors for snippets that cause errors in pygments-lexer-solidity

This commit is contained in:
Kamil Śliwak 2021-05-20 21:19:33 +02:00
parent 570ecf1cf1
commit 056e0d3751
2 changed files with 6 additions and 3 deletions

View File

@ -141,7 +141,8 @@ Both expressions can also be assigned to.
Local Solidity variables are available for assignments, for example:
.. code::
.. code-block:: solidity
:force:
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;

View File

@ -139,7 +139,8 @@ The functions ``prefixed`` and ``recoverSigner`` do this in the ``claimPayment``
The full contract
-----------------
::
.. code-block:: solidity
:force:
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
@ -335,7 +336,8 @@ so it is important that Bob closes the channel before the expiration is reached.
The full contract
-----------------
::
.. code-block:: solidity
:force:
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;