add syntax highlighting
I’ve recently discovered how to add syntax highlighting to the wiki (http://wiki.github.com/dpp/liftweb).
First, you simply added this to the top of the article:
Next, you added these two lines to the bottom of the page:
Finally, just surround and code snippets with:
lang="html">Your scala code...
本文由作者按照 CC BY 4.0 进行授权