CodeColorer プラグインを使ってみた

ソースコード表示用プラグインを使ってみました。

[cc]

<body bgcolor="#CCCC99" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" text="#000000" onLoad="MM_preloadImages('image/bt_title/bt_home_f2.gif','image/bt_title/bt_dantai_f2.gif','image/bt_title/bt_kiyaku_f2.gif','image/bt_title/bt_ml_f2.gif','image/bt_title/bt_bbs_f2.gif','image/bt_title/bt_link_f2.gif','image/bt_title/bt_form_f2.gif','image/bt_title/bt_yakuin_f2.gif','image/bt_title/bt_concert_f2.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="image/obj_top.gif">

      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="58%">
            <table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="image/spacer.gif" width="10" height="43"></td>
                <td><a href="http://www.iiwanet.com/csoa/"><img src="image/title.gif" width="270" height="44" border="0"></a></td>
              </tr>
            </table>

          </td>
          <td align="right" width="42%">
            <table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><a href="#"><img src="image/con_sitemap.gif" width="29" height="29" border="0"></a></td>
                <td align="center"><img src="image/spacer.gif" width="10" height="10"></td>
                <td align="center"><a href="#"><img src="image/con_help.gif" width="29" height="29" border="0"></a></td>
                <td align="center"><img src="image/spacer.gif" width="10" height="10"></td>
              </tr>


[/cc]

表示方法
<code lang=”◎◎◎”>と</code>で括る。または、[cc_◎◎◎ ][/cc]で括る。
【◎◎◎の部分は表示する言語ごとに設定】

対応言語

abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cil, cfdg, cfm, cmake, cobol, cpp-qt, cpp, csharp, css, d, dcs, delphi, diff, div, dos, dot, eiffel, email, erlang, fo, fortran, freebasic, genero, gettext, glsl, gml, bnuplot, groovy, haskell, hq9plus, html4strict, idl, ini, inno, intercal, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, locobasic, lolcode lotusformulas, lotusscript, lscript, lsl2, lua, m68k, make, matlab, mirc, modula3, mpasm, mxml, mysql, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle11, oracle8, pascal, per, pic16, pixelbender, perl, php-brief, php, plsql, povray, powershell, progress, prolog, properties, providex, python, qbasic, rails, rebol, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xml, xorg_conf, xpp, z80

Follow me!

この記事を書いた人

岩野英穂
スタジオ・イワノ 代表
・習志野商工会議所 会員
・船橋商工会議所 1号議員 サービス業部会 副部会長 広報委員会・情報化推進委員会所属
・千葉県吹奏楽連盟賛助会 会員
・習志野ロータリークラブ 会員