Sunday, February 10, 2013

SyntaxHighlighterでObjective-C

SyntaxHighlighterでObjective-Cをハイライトできなかったので以下のJSをヘッダに追加
<script src='https://raw.github.com/andrashatvani/shBrushObjC/master/shBrushObjC.js' type='text/javascript'/>
あとはエイリアスをocに設定
<pre class="brush: oc;">
    NSLog(@"hoge");
</pre>

参考

No comments:

Post a Comment