Solar_Markdown::prepare()
public
string
Solar_Markdown::prepare
( string $text
)
Prepares the text for processing by running the prepare() method of each plugin, in order, on the source text.
Parameters
(string)
$text
: The source text.
Returns
(string) The source text after processing.
Description
Prepares the text for processing by running the prepare() method of each plugin, in order, on the source text.
Also calls the plugin's reset() method, and resets internal counters and arrays. This is to support work with multiple separate text sources.