Previous Page
locale()

Solar_Markdown_Plugin_Header
parse()

Next Page
prepare()

parse()

public string 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.