http://alexgorbatchev.com/wiki/SyntaxHighlighter
I found that usage pattern was changed in recent releases.
Original sample usage:
<pre class="java:nocontrols" name="code"> your code </pre>
New sample usage:
<pre class="brush:java"> your code </pre>
Change your posts to use new version of Syntax Highlighter:
Invoke following command in vim:
%s/<pre \(.*\)class="\(\w\+\)*\(:\w\+\)*" \(.*\)>/<pre class="brush:\2" \1 \4>/g
No comments:
Post a Comment