Warning: Use of undefined constant flag - assumed 'flag' (this will throw an Error in a future version of PHP) in /home/users/1/pranktone/web/pranktone.net/blog/wp/wp-content/themes/prag/functions.php on line 645

Warning: Use of undefined constant registered - assumed 'registered' (this will throw an Error in a future version of PHP) in /home/users/1/pranktone/web/pranktone.net/blog/wp/wp-content/themes/prag/functions.php on line 646

Warning: Use of undefined constant nonce - assumed 'nonce' (this will throw an Error in a future version of PHP) in /home/users/1/pranktone/web/pranktone.net/blog/wp/wp-content/themes/prag/functions.php on line 647

Warning: Use of undefined constant category - assumed 'category' (this will throw an Error in a future version of PHP) in /home/users/1/pranktone/web/pranktone.net/blog/wp/wp-content/themes/prag/functions.php on line 648

Warning: Use of undefined constant tag - assumed 'tag' (this will throw an Error in a future version of PHP) in /home/users/1/pranktone/web/pranktone.net/blog/wp/wp-content/themes/prag/functions.php on line 649

Warning: Use of undefined constant search - assumed 'search' (this will throw an Error in a future version of PHP) in /home/users/1/pranktone/web/pranktone.net/blog/wp/wp-content/themes/prag/functions.php on line 650

Warning: Use of undefined constant author - assumed 'author' (this will throw an Error in a future version of PHP) in /home/users/1/pranktone/web/pranktone.net/blog/wp/wp-content/themes/prag/functions.php on line 651

Warning: Use of undefined constant is_single - assumed 'is_single' (this will throw an Error in a future version of PHP) in /home/users/1/pranktone/web/pranktone.net/blog/wp/wp-content/themes/prag/functions.php on line 652
wordpress

WordPressのプラグイン SyntaxHighlighter を入れてみた。

by pranktone
やってみたレビュー使い方

この記事は2010年2月9日に書かれたもので、内容が古く現在では推奨されていない方法の可能性もありますのでご注意ください。

ので、テストポストしてみようかと
思って、この記事を書いている。

htmlとか、ソースを書くことって
このブログにいたっては、
相当に少ないことなんだけども。

いろいろなサイトさんで使っているのをみて
なんとなく、ただなんとなくうらやましくなって、
入れてみる。

僕なんてそんなもんさ。

んで、肝心ののテストを。

[html] <div id=”hoge1″><span class=”hogehoge1″>Syntax Highlighterのテスト</span> </div> [/html]

うまくいったかな。

参考:WordPress Plugins/JSeries さん:Syntax Highlighter for WordPress (ソース整形表示)

参考:GigasMegas さん:WordPressのプラグイン SyntaxHighlighterでソースコードを見やすく整形表示

【追記】

あれ、見えてない。ということで、調整。
下記を参考にして調整したところ、無事表示されるようになりました。

WordPress2.9には対応していないなどの
原因があったようなので、プラグイン自体も
SyntaxHighlighter Evolved
に変更しました。

参考:qumk.net さん:wordpress:syntaxhighlighter

参考:イテルの一日一問:SyntaxHighlighter Evolved表示できず・・・

feedly

コメント

まだ、コメントはありません。

トラックバックURL

https://blog.pranktone.net/web/wordpress/20100209012332.html/trackback
ありきたりな日常と
それとない非日常を
紡ぐ記録
SKIP