Simplest way to highlight your code in blogspot

Public on August 24, 2015
1:  Example about highlight code :


int main()
    printf("Hello World\n");
    return 0;

2: How to make it.

2.1 : Add code below before tag </header> in your template




2.1 : How to use

You should now be able to add syntax highlighting to your blog. Wrap your code in a
tag and specify the brush to use in the class attribute. For example, to highlight a block of SQL: (write in html mode)

<pre class="brush:sql">
FROM users
WHERE user_id = 1212;

 Here's how that looks when rendered:

FROM users
WHERE user_id = 1212;

[Advertising]Faster Thinking - Speed up your brain

Faster Thinking Game

sentiment_satisfied Emoticon