plugin:codepad
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:codepad [2011-08-28 19:40] – [Syntax] 84.146.149.58 | plugin:codepad [2020-02-18 17:20] (current) – Aleksandr | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : | email : | ||
- | type : | + | type : |
lastupdate : 2011-08-28 | lastupdate : 2011-08-28 | ||
compatible : | compatible : | ||
Line 13: | Line 13: | ||
tags : code | tags : code | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : # eg. http:// | + | bugtracker : # eg. https:// |
- | sourcerepo : # eg. http:// | + | sourcerepo : # eg. https:// |
donationurl: | donationurl: | ||
---- | ---- | ||
Line 23: | Line 23: | ||
Install manually. | Install manually. | ||
- | + | <code php codepad/syntax.php> | |
- | '' | + | |
- | <code> | + | |
<?php | <?php | ||
/** | /** | ||
- | * Plugin | + | * Plugin |
- | * @author | + | * @author |
- | * @copyright Copyright (C) 2009-2011 eIrOcA - Enrico Croce & Simona Burzio | + | * @copyright Copyright (C) 2011 deshi |
* @license GPL >=3 (http:// | * @license GPL >=3 (http:// | ||
- | * @version 1.0.2 | + | * @version 1.0.0 |
- | * @link http://www.eiroca.net | + | * @link http://www.dokuwiki.org/ |
*/ | */ | ||
if (!defined(' | if (!defined(' | ||
- | if (!defined(' | ||
if (!defined(' | if (!defined(' | ||
- | require_once (DOKU_PLUGIN.' | ||
class syntax_plugin_codepad extends DokuWiki_Syntax_Plugin { | class syntax_plugin_codepad extends DokuWiki_Syntax_Plugin { | ||
Line 49: | Line 45: | ||
} | } | ||
- | function handle($match, | + | function handle($match, |
$match_array = array(); | $match_array = array(); | ||
//strip ~~codepad: from start and ~~ from end | //strip ~~codepad: from start and ~~ from end | ||
Line 61: | Line 57: | ||
* Create output | * Create output | ||
*/ | */ | ||
- | function render($mode, | + | function render($mode, |
global $conf; | global $conf; | ||
if($mode == ' | if($mode == ' | ||
Line 115: | Line 111: | ||
~~codepad~~ | ~~codepad~~ | ||
</ | </ | ||
+ | |||
===== Syntax ===== | ===== Syntax ===== | ||
Line 120: | Line 117: | ||
~~codepad~~ | ~~codepad~~ | ||
</ | </ | ||
+ | |||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
- | //[also CSS style tips]// | + | |
===== Development ===== | ===== Development ===== | ||
- | // | + | anyone |
=== Change Log === | === Change Log === | ||
- | // | + | |
- | + | ||
- | | + | |
* Initial release | * Initial release | ||
=== Known Bugs and Issues === | === Known Bugs and Issues === | ||
- | //[this section might not be needed in case of external bug manager, or use RSS feed]// | + | none |
=== ToDo/Wish List === | === ToDo/Wish List === | ||
- | // | + | |
===== FAQ ===== | ===== FAQ ===== | ||
- | // | + | |
===== Discussion ===== | ===== Discussion ===== | ||
//Could be placed on an external page (e.g. plugin: | //Could be placed on an external page (e.g. plugin: | ||
- | |||
plugin/codepad.1314553211.txt.gz · Last modified: 2011-08-28 19:40 by 84.146.149.58