Simplest way to highlight your code in blogspot

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

#include 

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">
SELECT *
FROM users
WHERE user_id = 1212;
</pre>

 Here's how that looks when rendered:

SELECT *
FROM users
WHERE user_id = 1212;




[Advertising]Faster Thinking - Speed up your brain


Faster Thinking Game



sentiment_satisfied Emoticon