ldct / github-ethereum-highlighting

3 stars 0 forks source link

github-ethereum-highlighting

userscript (greasymonkey / tampermonkey) for synatx highlighting of ethereum languages (solidity, viper, LLL) on github. PRs welcome!

screenshot

limitations

Currently, this uses javascript syntax highlighting for solidity and python for serpent since I can't find a good highlightjs styles for those languages.

Github seems to use ajax (no page reload) for tree navigation; try refreshing the page if you don't see it highlighted

installation

First, install a userscript manager (eg greasymonkey for firefox or tampermonkey for chrome).

Then, install this script. You can either copy userscript.js into your manager or install this via https://greasyfork.org/en/scripts/35046-github-solidity-highlighter

development

I develop using chrome + tampermonkey

todo

maybe