Code can be pretty, too!

in Geek Inside

I’m only starting to tweak the theme I installed here, but from the beginning I knew I’d be posting code snippets here. I consequently decided to start by adding a lightweight syntax highligher to my theme.

I picked highlight.js, and I used the Tomorrow Theme as my theme of choice.

<script src="/assets/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

Looking fancy, don’t you think?