Home arrow Blog arrow CodePress Syntax Highlighting

11月
28
2007
CodePress Syntax Highlighting Pluginを公開しました
diggに追加!

CodePress Syntax Highlighting Pluginは、CodePressを使い下記のように表示してくれます。

注:コード表示をJoomler! Syntaxhighlighter Plugin(2007/12/* リリース予定)に変更しています。Demoは、http://demo10.joomler.net/をごらんください。

 

また、Nishihata Kazuma氏のsetClipboardを使用することによりコードをFirefoxでもクリップボードにコピーできます。1.0.x用のみとりあえず公開いたします。

詳細は・・・

Joomler! CodePress Plugin

This plugin Syntax Highlighting of textarea with CodePress.
Support Copy to Clipboard.
Support Convert to CodePress from geshi.
(C) 2007 Joomler!.net

 
All rights reserved.
License:GNU/GPL
 

example1:

input <textarea class="codepress">

output <textarea class="codepress 'your default language' 'your select options'">

example2:

input <textarea class="codepress" lang="php" head="Demo CodePress" foot="Joomler!">

output

<div class="jcodepress_head">
<div class="jcodepress_foot">Joomler!</div>
Demo CodePress
</div>
<div id="navcontainer"><ul id="navlist">Your Selected Buttons</ul></div>
<textarea class="codepress php 'your selected options'">

example3:

input <textarea class="codepress php nobtn">

output

<div class="jcodepress_head">
<div class="jcodepress_head">
<div class="jcodepress_foot">Your Default foot</div>
Your Default head
</div>
<textarea class="codepress 'your default language' 'your selected options'">

example4: for geshi

input <pre>

output

<div class="jcodepress_head">
<div class="jcodepress_head">
<div class="jcodepress_foot">Your Default foot</div>
Your Default head
</div>
<div id="navcontainer"><ul id="navlist">Your Selected Buttons</ul></div>
<textarea class="codepress 'your default language' 'your selected options'">

example5: for geshi + options

input <pre lang="javascript" head="Your Title" foot="Your foot">

output

<div class="jcodepress_head">
<div class="jcodepress_head">
<div class="jcodepress_foot">Your foot</div>
Your head
</div>
<div id="navcontainer"><ul id="navlist">Your Selected Buttons</ul></div>
<textarea class="codepress javascript 'your selected options'">

About CodePress

CodePress v.0.9.6
CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
Copyright (C) 2006 Fernando M.A.d.S.
This program is free software; you can redistribute it and/or modify it under the terms of the
GNU Lesser General Public License as published by the Free Software Foundation.

License

CodePress is distributed under the LGPL. If your software is compatible with this licence or it is under Creative Commons, you can use it as you want. Just keep the credits somewhere around.

setClipboard.js

Copy to clipboard with flash. by Nishihata Kazuma.
URL:http://blog.webcreativepark.net/
 

to setClipboard.js page
 

License

setClipboard is distributed under the Creative Commons Attribution-Share Alike
 
 

Related Articles

SyntaxHighlighter Plugin : アップデートしました Update !!
SyntaxHighlighter 1.0.1 for 1.0.x Joomla!のデフォルトサイトキャッシュがONの時は、自動で記事内にスクリプトコードを出力するようにしました。 キャッシ...
結局すべてのランゲージペアで作成してみました : JGTdoc Plugin
おそらく、とってもおかしな翻訳になっているでしょうが・・・。 対応していない翻訳言語は、一度英語に翻訳してからもう一度その英語を目的の言語に翻訳するという手順ですべての対応言語セットで翻訳することが...
CodePress Plugin の設定で・・・
CodePress Pluginの設定で一つ忘れていたことがありました。「Auto Id Name」をYesにしないとidを重複して出力してしまいます。後ほど修正したものにファイルを置き換え...
jQueryでLightBox
jQueryでLightBoxみたいな表示ができるプラグインがありますが、それをもじってひねっている最中です。そんな中AptanaがAptana Studioになったものを使っているのですが...
Updated to 1.0.6 : MovableType XML-RPC Plugin for Joomla!1.5
MovableType XML-RPC プラグインをアップデートしました。  内容 support full MT API MTのAPIでエラーを返さないようにしました。...
Fireboardを1.0.4にアップデートしてみました
いつものように以前に変更したファイルを忘れて上書きしちゃったのであわてました。今回アップデートしたのは、GoogleのウェブマスターツールでURLのリダイレクトエラーがたくさん出ていたからです。ほと...
いやあ~ほんとごめんなさい
joomlaeasy.netさんにご迷惑かけちゃいました。 私の勘違いで・・・ 「正常に動いているのに動いていないと思いこんでいました。」 てっきり画像がGreyBoxで表示されるものだと思いこんでし...
Frontpage Auto Update
{TR_bothnative_right} Frontpage Auto Updateは、記事の更新があれば自動でFrontpageを更新してくれます。デフォルトでは最新の記事を投稿しても手作業でそ...
CodePress SyntaxHighlighting : アップデートしました。 Update!!
CodePress SyntaxHighlighting Plugin 1.0.2 for 1.0.x Joomla!のデフォルトサイトキャッシュがONの時は、自動で記事内にスクリプトコードを出...
Joomla! 1.5ではCacheされている
1.0.13では、ヘッダーがCacheされないと先日書きましたが、Joomla!1.5ではどうもCacheされているようです。すごい! 私としては、一番ベストなCache方法だと思います。パーツごとに...
管理画面で便利な QuickLink Previewモジュール
バックアップならこれJombackup
Joomla!1.5の最新リビジョンで異なるDatabase Charsetを試してみた
ファイルやメモ用にWordPress
書庫の記事が533タイトルにもなっていた
MovableType API Pluginの機能と特徴
DOCOMO用のXML-RPCクライアント
Joomla!の Cache
Wavelog
1.0.x用のMovableType XML-RPCをアップデートしました

joomler_kun_48.gif Blog
Joomler! Blog

for Mobile