Syntax Highlighting on Blogger with Github Gist | SJB -->

This website uses cookies to ensure you get the best experience. More info...

Pages

Syntax Highlighting on Blogger with Github Gist

Here is the most convenient way to syntax highlighting on a blogger post..

       _Go to https://gist.github.com/
       _Create a gist with your code. Use 'Create Public Gist' button to make it public.
       _Copy the embed script.
       _Paste the link on your blogger post in HTML editing mode.

Above little chunk of code will look like in the box below using this script: 


Your's will look different since I've different CSS applied on mine. Click GIST to see original.



No comments:

Post a Comment