This is a little userscript that adds syntax highlighting to the code tags on steamgifts.
It only highlights those code areas that were marked with a language, like this:

    ```javascript
    [some code]
    ``` //damn, how do i show triple backticks in code blocks?

I wrote this script mainly for my thread about the SG Userscript API, which contains a LOT of code. In your daily SG life you'll propably won't need it much.

The source code is available on Github. If you find a bug, please open an issue there and bump this thread.

Install

You'll need a scriptmanager like Tampermonkey in Chrome or Greasemonkey in Firefox to install this script

PS: Have a look at my other SG Userscripts:

And if you are a coder, check out the SG Userscript API

View attached image.
View attached image.
7 years ago*

Comment has been collapsed.

Sign in through Steam to add a comment.