Custom parsing (have to process heading entries first).
Overrides
Text_Wiki_Rule::parse() (Simple parsing method to apply the rule's regular expression to the source text, pass every match to the process() method, and replace the matched text with the results of the processing.)
string process(
array
&$matches)
|
|
Generates a replacement for the matched text. Token options are:
'type' => ['list_start'|'list_end'|'item_end'|'item_end'|'target']
'level' => The heading level (1-6).
'count' => Which heading this is in the list.
Overrides
Text_Wiki_Rule::process() (Simple processing mathod to take matched text and generate replacement text. This is one of the methods you will definitely want to override in your rule class extensions.)
Parameters:
string renderXhtml(
array
$options)
|
|
Renders a token into text matching the requested format.
Overrides
Text_Wiki_Rule::renderXhtml() (Simple rendering method to take a set of token options and generate replacement text for it. This is another method you will definitely want to override in your rule subclass extensions.)
Parameters: