Joomler!.net - Decided on Joomla!

Jboard is Multiple Board!

Home » Extensions » CodePress Syntax Highlighting Pluginを公開しました

CodePress Syntax Highlighting Pluginを公開しました

EMailPrintPDF
0 votes
Written by:Joomler! 8608 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
 

ADD A COMMENT

Subject*
:
Color Swatch




Email Link Page Code Text Align Center Text Align Justify Text Align Left Text Align Right Text Bold Text Quote Text Italic Text List Bullets Text List Numbers Text Strikethrough Text Underline World Link
Sun Unhappy Smile Evilgrin Wink Tongue Lightning Surprised Grin Rain Clouds Cloudy Snow Waii
Name*
:
EMail*
:
Please answer....
Submit Preview

JContentPlus for Joomla!1.5 powered by Joomler!.net

デル株式会社

Related Items

joomler.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries.
joomler.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.