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

[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!

この記事を書いた人

アバター画像
岩野英穂
株式会社スタジオイワノ
代表取締役

当社は、WordPressを使用したウェブサイト制作を得意としています。初心者でも簡単に更新が可能なノンコード編集プラグイン「Elementor」を用いた作業にも自信を持って取り組んでいます。また、WordPressテーマ「Lightning」のカスタマイズなども幅広く手掛けています。さらに、オンラインショップ用の「Welcart」や不動産サイト制作用テーマ「不動産プラグイン」の制作も豊富に行っております。

また、制作業者様の下請け作業のお手伝いも行っております。人手不足やコーディングの一部を依頼したい、管理者が退職してしまった、更新内容を検討する時間がないなど、様々なご要望にお応えします。

お客様のご要望に合わせて無料の費用見積もりを提供させていただきますので、お気軽にお問い合わせください。