Class cebe\markdown\latex\GithubMarkdown
Markdown parser for github flavored markdown.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$enableNewlines | boolean | Whether to interpret newlines as <br /> -tags. |
cebe\markdown\latex\GithubMarkdown |
$keepListStartNumber | bool | Enable support start attribute of ordered lists. |
cebe\markdown\block\ListTrait |
$labelPrefix | string | This string will be prefixed to all auto generated labels. | cebe\markdown\latex\Markdown |
$maximumNestingLevel | integer | The maximum nesting level for language elements. | cebe\markdown\Parser |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$context | string | The current context the parser is in. | cebe\markdown\Parser |
$escapeCharacters | cebe\markdown\latex\GithubMarkdown | ||
$references | array | A list of defined references in this document. | cebe\markdown\inline\LinkTrait |
Public Methods
Method | Description | Defined By |
---|---|---|
parse() | Parses the given text considering the full language. | cebe\markdown\Parser |
parseParagraph() | Parses a paragraph without block elements (block elements are ignored). | cebe\markdown\Parser |
Protected Methods
Property Details
Whether to interpret newlines as <br />
-tags.
This feature is useful for comments where newlines are often meant to be real new lines.
protected $escapeCharacters = ['\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '#', '+', '-', '.', '!', '<', '>', ':', '|']
Method Details
protected void parseTd ( $markdown ) | ||
$markdown |
protected void renderAutoUrl ( $block ) | ||
$block |
protected void renderCode ( $block ) | ||
$block |
protected void renderStrike ( $block ) | ||
$block |
protected void renderTable ( $block ) | ||
$block |
protected void renderTableSep ( $block ) | ||
$block |
protected void renderText ( $text ) | ||
$text |