Ciconia / A New Markdown Parser for #PHP

class XhtmlRenderer extends HtmlRenderer

Renders markdown result to XHTML format

Methods

string renderParagraph($content, array $options = array()) from HtmlRenderer
string renderHeader($content, array $options = array()) from HtmlRenderer
string renderCodeBlock($content, array $options = array()) from HtmlRenderer
string renderCodeSpan($content, array $options = array()) from HtmlRenderer
string renderLink(string|Text $content, array $options = array()) from HtmlRenderer
string renderBlockQuote($content, array $options = array()) from HtmlRenderer
string renderList($content, array $options = array()) from HtmlRenderer
string renderListItem($content, array $options = array()) from HtmlRenderer
string renderHorizontalRule(array $options = array()) from HtmlRenderer
string renderImage($src, array $options = array()) from HtmlRenderer
string renderBoldText($text, array $options = array()) from HtmlRenderer
string renderItalicText($text, array $options = array()) from HtmlRenderer
string renderLineBreak(array $options = array()) from HtmlRenderer
mixed renderTag(string $tagName, string $content, string $tagType = Tag::TYPE_BLOCK, array $options = array()) from HtmlRenderer

Details

in HtmlRenderer at line 20 public string renderParagraph($content, array $options = array())

Parameters

$content
array $options

Return Value

string

in HtmlRenderer at line 28 public string renderHeader($content, array $options = array())

Parameters

$content
array $options

Return Value

string

in HtmlRenderer at line 41 public string renderCodeBlock($content, array $options = array())

Parameters

$content
array $options

Return Value

string

in HtmlRenderer at line 63 public string renderCodeSpan($content, array $options = array())

Parameters

$content
array $options

Return Value

string

Parameters

string|Text $content
array $options

Return Value

string

in HtmlRenderer at line 96 public string renderBlockQuote($content, array $options = array())

Parameters

$content
array $options

Return Value

string

in HtmlRenderer at line 104 public string renderList($content, array $options = array())

Parameters

$content
array $options

Return Value

string

in HtmlRenderer at line 126 public string renderListItem($content, array $options = array())

Parameters

$content
array $options

Return Value

string

in HtmlRenderer at line 134 public string renderHorizontalRule(array $options = array())

Parameters

array $options

Return Value

string

in HtmlRenderer at line 142 public string renderImage($src, array $options = array())

Parameters

$src
array $options

Return Value

string

in HtmlRenderer at line 159 public string renderBoldText($text, array $options = array())

Parameters

$text
array $options

Return Value

string

in HtmlRenderer at line 167 public string renderItalicText($text, array $options = array())

Parameters

$text
array $options

Return Value

string

in HtmlRenderer at line 175 public string renderLineBreak(array $options = array())

Parameters

array $options

Return Value

string

in HtmlRenderer at line 183 public mixed renderTag(string $tagName, string $content, string $tagType = Tag::TYPE_BLOCK, array $options = array())

Parameters

string $tagName
string $content
string $tagType
array $options

Return Value

mixed