lunedì 21 gennaio 2013

How to use code snippets in your page


System.out.println('Hello! This is my first page :)');

I am new to blogging and I just thought to put together some useful snippets to make programming more comfortable. Well, let's start. I'll just report what I discovered today: if you're new to blogs and you just want to put some code snippets in it, first of all, put following lines in your html page header just like this:
When you're done with this you have to put your snippet in a <pre> tag in this way:

// content here
where the brush is the programming language you're using. Hope you have enjoyed this :) cya soon, Ale

Nessun commento:

Posta un commento