function add(x, y){
return x+y;
}
var a = 11;
var b = 22.5;
var c = add(a,b);
```
Wednesday, March 11, 2015
Highlight and Markdown Code
## Reference
* [highlight](https://highlightjs.org/static/demo/)
* [prism](http://prismjs.com/download.html)
* [marked](https://github.com/chjj/marked) used for md syntax.
```markdown
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://github.com/PrismJS/prism/blob/gh-pages/prism.js"></script>
<link href="https://github.com/PrismJS/prism/blob/gh-pages/themes/prism.css" rel='stylesheet'>
<pre><code class="javascript">
function add(x, y){
return x+y;
}
var a = 11;
var b = 22.5;
var c = add(a,b);
</code></pre>
```
```html
Subscribe to:
Posts (Atom)