Solar_Markdown_Extra_Header::parse()

public string Solar_Markdown_Extra_Header::parse ( string $text )

Turns ATX- and setext-style headers into XHTML header tags.

Parameters

  • (string) $text: Portion of the Markdown source text.

Returns

  • (string) The transformed XHTML.

Description

Turns ATX- and setext-style headers into XHTML header tags.



Local