Peta
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
MarkdownExtra_Parser Class Reference
Inheritance diagram for MarkdownExtra_Parser:
Markdown_Parser

Public Member Functions

 MarkdownExtra_Parser ()
 
 setup ()
 
 teardown ()
 
 doExtraAttributes ($tag_name, $attr)
 
 hashHTMLBlocks ($text)
 
 _hashHTMLBlocks_inMarkdown ($text, $indent=0, $enclosing_tag_re= '', $span=false)
 
 _hashHTMLBlocks_inHTML ($text, $hash_method, $md_attr)
 
 hashClean ($text)
 
 doHeaders ($text)
 
 _doHeaders_callback_setext ($matches)
 
 _doHeaders_callback_atx ($matches)
 
 doTables ($text)
 
 _doTable_leadingPipe_callback ($matches)
 
 _doTable_callback ($matches)
 
 doDefLists ($text)
 
 _doDefLists_callback ($matches)
 
 processDefListItems ($list_str)
 
 _processDefListItems_callback_dt ($matches)
 
 _processDefListItems_callback_dd ($matches)
 
 doFencedCodeBlocks ($text)
 
 _doFencedCodeBlocks_callback ($matches)
 
 _doFencedCodeBlocks_newlines ($matches)
 
 formParagraphs ($text)
 
 stripFootnotes ($text)
 
 _stripFootnotes_callback ($matches)
 
 doFootnotes ($text)
 
 appendFootnotes ($text)
 
 _appendFootnotes_callback ($matches)
 
 stripAbbreviations ($text)
 
 _stripAbbreviations_callback ($matches)
 
 doAbbreviations ($text)
 
 _doAbbreviations_callback ($matches)
 
- Public Member Functions inherited from Markdown_Parser
 Markdown_Parser ()
 
 setup ()
 
 teardown ()
 
 transform ($text)
 
 stripLinkDefinitions ($text)
 
 _stripLinkDefinitions_callback ($matches)
 
 hashHTMLBlocks ($text)
 
 _hashHTMLBlocks_callback ($matches)
 
 hashPart ($text, $boundary= 'X')
 
 hashBlock ($text)
 
 runBlockGamut ($text)
 
 runBasicBlockGamut ($text)
 
 doHorizontalRules ($text)
 
 runSpanGamut ($text)
 
 doHardBreaks ($text)
 
 _doHardBreaks_callback ($matches)
 
 doAnchors ($text)
 
 _doAnchors_reference_callback ($matches)
 
 _doAnchors_inline_callback ($matches)
 
 doImages ($text)
 
 _doImages_reference_callback ($matches)
 
 _doImages_inline_callback ($matches)
 
 doHeaders ($text)
 
 _doHeaders_callback_setext ($matches)
 
 _doHeaders_callback_atx ($matches)
 
 doLists ($text)
 
 _doLists_callback ($matches)
 
 processListItems ($list_str, $marker_any_re)
 
 _processListItems_callback ($matches)
 
 doCodeBlocks ($text)
 
 _doCodeBlocks_callback ($matches)
 
 makeCodeSpan ($code)
 
 prepareItalicsAndBold ()
 
 doItalicsAndBold ($text)
 
 doBlockQuotes ($text)
 
 _doBlockQuotes_callback ($matches)
 
 _doBlockQuotes_callback2 ($matches)
 
 formParagraphs ($text)
 
 encodeAttribute ($text)
 
 encodeAmpsAndAngles ($text)
 
 doAutoLinks ($text)
 
 _doAutoLinks_url_callback ($matches)
 
 _doAutoLinks_email_callback ($matches)
 
 encodeEmailAddress ($addr)
 
 parseSpan ($str)
 
 handleSpanToken ($token, &$str)
 
 outdent ($text)
 
 detab ($text)
 
 _detab_callback ($matches)
 
 _initDetab ()
 
 unhash ($text)
 
 _unhash_callback ($matches)
 

Public Attributes

 $fn_id_prefix = ""
 
 $fn_link_title = MARKDOWN_FN_LINK_TITLE
 
 $fn_backlink_title = MARKDOWN_FN_BACKLINK_TITLE
 
 $fn_link_class = MARKDOWN_FN_LINK_CLASS
 
 $fn_backlink_class = MARKDOWN_FN_BACKLINK_CLASS
 
 $code_class_prefix = MARKDOWN_CODE_CLASS_PREFIX
 
 $code_attr_on_pre = MARKDOWN_CODE_ATTR_ON_PRE
 
 $predef_abbr = array()
 
 $footnotes = array()
 
 $footnotes_ordered = array()
 
 $footnotes_ref_count = array()
 
 $footnotes_numbers = array()
 
 $abbr_desciptions = array()
 
 $abbr_word_re = ''
 
 $footnote_counter = 1
 
 $id_class_attr_catch_re = '\{((?:[ ]*[#.][-_:a-zA-Z0-9]+){1,})[ ]*\}'
 
 $id_class_attr_nocatch_re = '\{(?:[ ]*[#.][-_:a-zA-Z0-9]+){1,}[ ]*\}'
 
 $block_tags_re = 'p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|address|form|fieldset|iframe|hr|legend|article|section|nav|aside|hgroup|header|footer|figcaption'
 
 $context_block_tags_re = 'script|noscript|ins|del|iframe|object|source|track|param|math|svg|canvas|audio|video'
 
 $contain_span_tags_re = 'p|h[1-6]|li|dd|dt|td|th|legend|address'
 
 $clean_tags_re = 'script|math|svg'
 
 $auto_close_tags_re = 'hr|img|param|source|track'
 
 $em_relist
 
 $strong_relist
 
 $em_strong_relist
 
- Public Attributes inherited from Markdown_Parser
 $empty_element_suffix = MARKDOWN_EMPTY_ELEMENT_SUFFIX
 
 $tab_width = MARKDOWN_TAB_WIDTH
 
 $no_markup = false
 
 $no_entities = false
 
 $predef_urls = array()
 
 $predef_titles = array()
 
 $nested_brackets_depth = 6
 
 $nested_brackets_re
 
 $nested_url_parenthesis_depth = 4
 
 $nested_url_parenthesis_re
 
 $escape_chars = '\`*_{}[]()>#+-.!'
 
 $escape_chars_re
 
 $urls = array()
 
 $titles = array()
 
 $html_hashes = array()
 
 $in_anchor = false
 
 $document_gamut
 
 $block_gamut
 
 $span_gamut
 
 $list_level = 0
 
 $em_relist
 
 $strong_relist
 
 $em_strong_relist
 
 $em_strong_prepared_relist
 
 $utf8_strlen = 'mb_strlen'
 

Member Data Documentation

MarkdownExtra_Parser::$em_relist
Initial value:
= array(
'' => '(?:(?<!\*)\*(?!\*)|(?<![a-zA-Z0-9_])_(?!_))(?=\S|$)(?![\.,:;]\s)',
'*' => '(?<=\S|^)(?<!\*)\*(?!\*)',
'_' => '(?<=\S|^)(?<!_)_(?![a-zA-Z0-9_])',
)
MarkdownExtra_Parser::$em_strong_relist
Initial value:
= array(
'' => '(?:(?<!\*)\*\*\*(?!\*)|(?<![a-zA-Z0-9_])___(?!_))(?=\S|$)(?![\.,:;]\s)',
'***' => '(?<=\S|^)(?<!\*)\*\*\*(?!\*)',
'___' => '(?<=\S|^)(?<!_)___(?![a-zA-Z0-9_])',
)
MarkdownExtra_Parser::$strong_relist
Initial value:
= array(
'' => '(?:(?<!\*)\*\*(?!\*)|(?<![a-zA-Z0-9_])__(?!_))(?=\S|$)(?![\.,:;]\s)',
'**' => '(?<=\S|^)(?<!\*)\*\*(?!\*)',
'__' => '(?<=\S|^)(?<!_)__(?![a-zA-Z0-9_])',
)

The documentation for this class was generated from the following file: