Solar_Markdown_Extra::prepare()

public string Solar_Markdown_Extra::prepare ( string $text )

Prepares the text for processing by running the prepare() method of each plugin, in order, on the source text.

Inherited from Solar_Markdown.

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.



Local