Code Highlighting

Blue 8

Our theme supports code highlighting system

here is css block code

.post-title {
	margin: 0 0 5px;
	font-weight: bold;
	font-size: 38px;
	line-height: 1.2;
}

and here is javascript code

var y = 5;
var x = ++y;
document.getElementById("demo1").innerHTML = y;
document.getElementById("demo2").innerHTML = x;

You can:

  • use this system by adding the code between <pre><code> html tags.
  • the system will detect the language type automatically.
  • you can disable it from theme setting and it will stop loading the system script.

and also supports more than 20 language

Written by