Εμφάνιση αναρτήσεων με ετικέτα syntaxhighlighter. Εμφάνιση όλων των αναρτήσεων
Εμφάνιση αναρτήσεων με ετικέτα syntaxhighlighter. Εμφάνιση όλων των αναρτήσεων

Τρίτη 18 Οκτωβρίου 2011

Syntaxhighlighter script method

Today I wanted to include some code in my post and I couldn't do this by writing:

PUT YOUR CODE HERE

So I used Syntaxhighlighter script method and I wrote:


without having any problem.


For more details about the pre method and the script method, you can click here.

Κυριακή 25 Σεπτεμβρίου 2011

Syntaxhighlighter pre method

This will be a quick post about syntaxhighlighter for blogger, very useful for scripting tutorials.

First of course you have to download SyntaxHighlighter from the following address.

Then upload all files to a web hosting, so that you will be able to include them in the html code of your blogger template.

Then, navigate to your blogger dashboard and edit the html layout of the blogger template. Search for "head" section and paste following code









Everytime you want to publish a post, which includes javascript you write following:
YOUR CODE