Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [syntax-highlighting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
115 views

Markdown syntax highliter for Solidity

Does anyone here know about an available markdown syntax highlighter for Solidity? Pygments & PrismJS do not include Solidity, Vyper.. What does ethereum.org uses for its docs?
0
votes
0answers
241 views

require() does not work in solidity code?

I defined a function in my contract as follows: (summarized code) struct StateStruct { bytes32 description; mapping(bytes32 => bytes32) sub_state; } struct ObjectStruct { ...
1
vote
1answer
417 views

How do I get github to syntax highlight Solidity code?

I uploaded a smart contract written in Solidity to github but it is not syntax highlighted. Instead it looks like a regular text file. I would like syntax highlighting to be shown on Github. How do I ...