Source from Regex Colorizer
apply to blogger
- go to "Template tab" -> click "Edit html"
- find </head>
- add below code to above </head>
- find <body> repleace <body> with :
- when you want to highlight some code
<!---start regex-colorizer.js--> <script src='http://stevenlevithan.com/regex/colorizer/regex-colorizer.js' type='text/javascript'/> <link href='http://stevenlevithan.com/regex/colorizer/themes/nobg.css' rel='stylesheet' type='text/css'/> <!---end regex-colorizer.js-->
<body onload='RegexColorizer.colorizeAll()'>
<pre class="regex"> you some code </pre>
Demo
View:
- click result tab to see highligher effect
- click html tab to see html code
- click source tab to see source
0 comments:
Post a Comment