Class Markdown_Parser
Direct known subclasses
MarkdownExtra_ParserIndirect known subclasses
CMarkdownParser
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
public
integer
|
$nested_brackets_depth | 6 |
|
public
mixed
|
$nested_brackets_re |
|
|
public
integer
|
$nested_url_parenthesis_depth | 4 |
|
public
mixed
|
$nested_url_parenthesis_re |
|
|
public
string
|
$escape_chars | '\`*_{}[]()>#+-.!' |
|
public
mixed
|
$escape_chars_re |
|
|
public
string
|
$empty_element_suffix | ' />' |
|
public
integer
|
$tab_width | 4 |
|
public
boolean
|
$no_markup | false |
|
public
boolean
|
$no_entities | false |
|
public
array
|
$predef_urls | array() |
|
public
array
|
$predef_titles | array() |
|
public
array
|
$urls | array() |
|
public
array
|
$titles | array() |
|
public
array
|
$html_hashes | array() |
|
public
boolean
|
$in_anchor | false |
|
public
array
|
$document_gamut | array(
# Strip link definitions, store in hashes.
"stripLinkDefinitions" => 20,
"runBasicBlockGamut" => 30,
) |
|
public
array
|
$block_gamut | array(
#
# These are all the transformations that form block-level
# tags like paragraphs, headers, and list items.
#
"doHeaders" => 10,
"doHorizontalRules" => 20,
"doLists" => 40,
"doCodeBlocks" => 50,
"doBlockQuotes" => 60,
) |
|
public
array
|
$span_gamut | array(
#
# These are all the transformations that occur *within* block-level
# tags like paragraphs, headers, and list items.
#
# Process character escapes, code spans, and inline HTML
# in one shot.
"parseSpan" => -30,
# Process anchor and image tags. Images must come first,
# because ![foo][f] looks like an anchor.
"doImages" => 10,
"doAnchors" => 20,
# Make links out of things like `<http://example.com/>`
# Must come after doAnchors, because you can use < and >
# delimiters in inline links like [this](<url>).
"doAutoLinks" => 30,
"encodeAmpsAndAngles" => 40,
"doItalicsAndBold" => 50,
"doHardBreaks" => 60,
) |
|
public
integer
|
$list_level | 0 |
|
public
array
|
$em_relist | array(
'' => '(?:(?<!\*)\*(?!\*)|(?<!_)_(?!_))(?=\S|$)(?![\.,:;]\s)',
'*' => '(?<=\S|^)(?<!\*)\*(?!\*)',
'_' => '(?<=\S|^)(?<!_)_(?!_)',
) |
|
public
array
|
$strong_relist | array(
'' => '(?:(?<!\*)\*\*(?!\*)|(?<!_)__(?!_))(?=\S|$)(?![\.,:;]\s)',
'**' => '(?<=\S|^)(?<!\*)\*\*(?!\*)',
'__' => '(?<=\S|^)(?<!_)__(?!_)',
) |
|
public
array
|
$em_strong_relist | array(
'' => '(?:(?<!\*)\*\*\*(?!\*)|(?<!_)___(?!_))(?=\S|$)(?![\.,:;]\s)',
'***' => '(?<=\S|^)(?<!\*)\*\*\*(?!\*)',
'___' => '(?<=\S|^)(?<!_)___(?!_)',
) |
|
public
mixed
|
$em_strong_prepared_relist |
|
|
public
string
|
$utf8_strlen | 'mb_strlen' |