CodePress Syntax Highlighting Pluginを公開しました

Print
0 votes
Plugins - CodePress Syntax Highlighting
Written by:Joomler! 8604 hits Wednesday, 28 November 2007 19:21

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
 

JContentPlus for Joomla!1.5 powered by Joomler!.net