PHP Class MarkdownExtra_Parser, gitblog

Inheritance: extends Markdown_Parser
Mostrar archivo Open project: rsms/gitblog Class Usage Examples

Public Properties

Property Type Description
$abbr_desciptions
$abbr_word_re
$auto_close_tags_re # Tags that do not need to be closed.
$block_tags_re # Tags that are always treated as block tags:
$clean_tags_re # they appear:
$contain_span_tags_re # Tags where markdown="1" default to span mode:
$context_block_tags_re # Tags treated as block tags only if the opening tag is alone on it's line:
$em_relist #
$em_strong_relist
$fn_backlink_class
$fn_backlink_title
$fn_id_prefix # Prefix for footnote ids.
$fn_link_class # Optional class attribute for footnote links and backlinks.
$fn_link_title # Optional title attribute for footnote links and backlinks.
$footnote_counter # Give the current footnote number.
$footnotes # Extra variables used during extra transformations.
$footnotes_ordered
$predef_abbr # Predefined abbreviations.
$strong_relist

Public Methods

Method Description
MarkdownExtra_Parser ( )
_appendFootnotes_callback ( $matches )
_doAbbreviations_callback ( $matches )
_doDefLists_callback ( $matches )
_doFencedCodeBlocks_callback ( $matches )
_doFencedCodeBlocks_newlines ( $matches )
_doHeaders_attr ( $attr )
_doHeaders_callback_atx ( $matches )
_doHeaders_callback_setext ( $matches )
_doTable_callback ( $matches )
_doTable_leadingPipe_callback ( $matches )
_hashHTMLBlocks_inHTML ( $text, $hash_method, $md_attr )
_hashHTMLBlocks_inMarkdown ( $text, $indent, $enclosing_tag_re = '', $span = false )
_processDefListItems_callback_dd ( $matches )
_processDefListItems_callback_dt ( $matches )
_stripAbbreviations_callback ( $matches )
_stripFootnotes_callback ( $matches )
appendFootnotes ( $text )
doAbbreviations ( $text )
doDefLists ( $text )
doFencedCodeBlocks ( $text )
doFootnotes ( $text )
doHeaders ( $text )
doTables ( $text )
formParagraphs ( $text )
hashClean ( $text )
hashHTMLBlocks ( $text )
processDefListItems ( $list_str )
setup ( )
stripAbbreviations ( $text ) ### Abbreviations ###
stripFootnotes ( $text ) ### Footnotes
teardown ( )

Method Details

MarkdownExtra_Parser() public method

_appendFootnotes_callback() public method

public _appendFootnotes_callback ( $matches )

_doAbbreviations_callback() public method

public _doAbbreviations_callback ( $matches )

_doDefLists_callback() public method

public _doDefLists_callback ( $matches )

_doFencedCodeBlocks_callback() public method

public _doFencedCodeBlocks_callback ( $matches )

_doFencedCodeBlocks_newlines() public method

public _doFencedCodeBlocks_newlines ( $matches )

_doHeaders_attr() public method

public _doHeaders_attr ( $attr )

_doHeaders_callback_atx() public method

public _doHeaders_callback_atx ( $matches )

_doHeaders_callback_setext() public method

public _doHeaders_callback_setext ( $matches )

_doTable_callback() public method

public _doTable_callback ( $matches )

_doTable_leadingPipe_callback() public method

public _doTable_leadingPipe_callback ( $matches )

_hashHTMLBlocks_inHTML() public method

public _hashHTMLBlocks_inHTML ( $text, $hash_method, $md_attr )

_hashHTMLBlocks_inMarkdown() public method

public _hashHTMLBlocks_inMarkdown ( $text, $indent, $enclosing_tag_re = '', $span = false )

_processDefListItems_callback_dd() public method

public _processDefListItems_callback_dd ( $matches )

_processDefListItems_callback_dt() public method

public _processDefListItems_callback_dt ( $matches )

_stripAbbreviations_callback() public method

public _stripAbbreviations_callback ( $matches )

_stripFootnotes_callback() public method

public _stripFootnotes_callback ( $matches )

appendFootnotes() public method

public appendFootnotes ( $text )

doAbbreviations() public method

public doAbbreviations ( $text )

doDefLists() public method

public doDefLists ( $text )

doFencedCodeBlocks() public method

public doFencedCodeBlocks ( $text )

doFootnotes() public method

public doFootnotes ( $text )

doHeaders() public method

public doHeaders ( $text )

doTables() public method

public doTables ( $text )

formParagraphs() public method

public formParagraphs ( $text )

hashClean() public method

public hashClean ( $text )

hashHTMLBlocks() public method

public hashHTMLBlocks ( $text )

processDefListItems() public method

public processDefListItems ( $list_str )

setup() public method

public setup ( )

stripAbbreviations() public method

### Abbreviations ###
public stripAbbreviations ( $text )

stripFootnotes() public method

### Footnotes
public stripFootnotes ( $text )

teardown() public method

public teardown ( )

Property Details

$abbr_desciptions public_oe property

public $abbr_desciptions

$abbr_word_re public_oe property

public $abbr_word_re

$auto_close_tags_re public_oe property

# Tags that do not need to be closed.
public $auto_close_tags_re

$block_tags_re public_oe property

# Tags that are always treated as block tags:
public $block_tags_re

$clean_tags_re public_oe property

# they appear:
public $clean_tags_re

$contain_span_tags_re public_oe property

# Tags where markdown="1" default to span mode:
public $contain_span_tags_re

$context_block_tags_re public_oe property

# Tags treated as block tags only if the opening tag is alone on it's line:
public $context_block_tags_re

$em_relist public_oe property

#
public $em_relist

$em_strong_relist public_oe property

public $em_strong_relist

$fn_id_prefix public_oe property

# Prefix for footnote ids.
public $fn_id_prefix

$footnote_counter public_oe property

# Give the current footnote number.
public $footnote_counter

$footnotes public_oe property

# Extra variables used during extra transformations.
public $footnotes

$footnotes_ordered public_oe property

public $footnotes_ordered

$predef_abbr public_oe property

# Predefined abbreviations.
public $predef_abbr

$strong_relist public_oe property

public $strong_relist