【ページで使って見よう】
方法1:
<script type='syntaxhighlighter' class='brush: ***'><![CDATA[コードの内容(エスケープ不要)]]></script>
方法2:
<pre class='brush: ***'>コードの内容(エスケープ済)</pre>
結果:
<pre class="brush: csharp; toolbar:false;" title=" Blogger Source csharp" name="code">
function test() : String
{
return 10;
}
</pre>
以上です。