Solidity Codeblock Highlight
Add this to the head
of your HTML Page, or
add Shiki.
<script src="https://esm.sh/[email protected]" defer async></script>
Edit the codeblock.
pragma solidity ^0.8.0;
contract HelloWorld {
function sayHello() public pure returns (string memory) {
return "Hello, Solidity!";
}
}
Copy paste this.