mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs: Suppress highlighting errors for snippets that cause errors in pygments-lexer-solidity
This commit is contained in:
parent
570ecf1cf1
commit
056e0d3751
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user