mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9588 from ethereum/docs-fix-broken-highlighting-in-some-blocks
[docs] Fix solidity code blocks using incorrect highlighter name
This commit is contained in:
commit
ab4aad6dc9
@ -46,7 +46,7 @@ The following example shows a contract and a function using all available tags.
|
||||
public. You are welcome to use similar comments for your internal and
|
||||
private functions, but those will not be parsed.
|
||||
|
||||
.. code:: solidity
|
||||
.. code:: Solidity
|
||||
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
pragma solidity >0.6.10 <0.8.0;
|
||||
@ -126,7 +126,7 @@ JSON output, for example the end-user client software, may present this to the e
|
||||
|
||||
For example, some client software will render:
|
||||
|
||||
.. code:: solidity
|
||||
.. code:: Solidity
|
||||
|
||||
/// @notice This function will multiply `a` by 7
|
||||
|
||||
|
@ -637,7 +637,7 @@ Example
|
||||
|
||||
Assume that you have the following contract in ``Source.sol``:
|
||||
|
||||
.. code-block:: solidity
|
||||
.. code-block:: Solidity
|
||||
|
||||
pragma solidity >=0.6.0 <0.6.4;
|
||||
// This will not compile after 0.7.0
|
||||
@ -691,7 +691,7 @@ It is recommended to explicitly specify the upgrade modules by using ``--modules
|
||||
The command above applies all changes as shown below. Please review them carefully (the pragmas will
|
||||
have to be updated manually.)
|
||||
|
||||
.. code-block:: solidity
|
||||
.. code-block:: Solidity
|
||||
|
||||
pragma solidity >0.6.99 <0.8.0;
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
|
Loading…
Reference in New Issue
Block a user