PEAR2_Text_Markdown › PEAR2_Text_Markdown-0.1.0/php/PEAR2/Text/Markdown/Wiki.php
- PEAR2_Text_Markdown-0.1.0/
- doc/
- pear2.php.net/
- PEAR2_Text_Markdown/
- examples/
- examples/
- examples/
- PEAR2_Text_Markdown/
- pear2.php.net/
- php/
- PEAR2/
- Autoload.php
- Exception.php
- MultiErrors/
- MultiErrors.php
- Text/
- Markdown/
- Apidoc/
- Apidoc.php
- Extra/
- Extra.php
- Main.php
- Plugin/
- Plugin.php
- Wiki/
- Wiki.php
- Markdown/
- PEAR2/
- doc/
- package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
/**
*
* Markdown engine rules for wiki markup.
*
* This class implements a plugin set for the Markdown-Extra syntax;
* be sure to visit the [Markdown-Extra][] site for syntax examples.
*
* [Markdown-Extra]: http://www.michelf.com/projects/php-markdown/extra/
*
* @category Solar
*
* @package Markdown_Wiki Plugin-based system to implement a
* Solar-specific wiki form of the Markdown syntax.
*
* @author Paul M. Jones <pmjones@solarphp.com>
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
* @version $Id: Wiki.php 4380 2010-02-14 16:06:52Z pmjones $
*
* @todo Implement the markdown-in-html portion of Markdown-Extra.
*
*/
namespace PEAR2\Text;
class Markdown_Wiki extends Markdown_Main
{
/**
*
* Default configuration values.
*
* This sets the plugins and their processing order for the engine.
*
* @var array
*
*/
protected $_Markdown_Wiki = array(
'plugins' => array(
// highest-priority prepare and cleanup
'Markdown_Wiki_Filter',
// for Markdown images and links
'Markdown_Plugin_StripLinkDefs',
// blocks
'Markdown_Wiki_MethodSynopsis',
'Markdown_Wiki_Header',
'Markdown_Extra_Table',
'Markdown_Plugin_HorizRule',
'Markdown_Plugin_List',
'Markdown_Extra_DefList',
'Markdown_Wiki_ColorCodeBlock',
'Markdown_Plugin_CodeBlock',
'Markdown_Plugin_BlockQuote',
'Markdown_Plugin_Paragraph',
// spans
'Markdown_Plugin_CodeSpan',
'Markdown_Wiki_Link',
'Markdown_Plugin_Image',
'Markdown_Plugin_Link',
'Markdown_Plugin_Uri',
'Markdown_Plugin_Encode',
'Markdown_Extra_EmStrong',
'Markdown_Plugin_Break',
'Markdown_Wiki_Escape',
),
);
function __construct()
{
$this->_config = $this->_config + $this->_Markdown_Wiki + $this->_Markdown;
$this->_postConstruct();
}
}
EOF
