PHP Class _MarkdownExtra_TmpImpl

Inheritance: extends Markdown
Afficher le fichier Open project: zblogcn/zblogphp Class Usage Examples

Méthodes publiques

Свойство Type Description
$code_attr_on_pre # setting this to true will put attributes on the pre tag instead.
$code_class_prefix # Optional class prefix for fenced code block.
$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.
$predef_abbr # Predefined abbreviations.
$table_align_class_tmpl # If empty, the align attribute is used instead of a class name.

Protected Properties

Свойство 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 its line:
$em_relist #
$em_strong_relist
$footnote_counter # Give the current footnote number.
$footnotes # Extra variables used during extra transformations.
$footnotes_numbers
$footnotes_ordered
$footnotes_ref_count
$id_class_attr_catch_re # Expression to use to catch attributes (includes the braces)
$id_class_attr_nocatch_re # Expression to use when parsing in a context when no capture is desired
$strong_relist

Méthodes publiques

Méthode Description
__construct ( ) ### Parser Implementation ###

Méthodes protégées

Méthode Description
_appendFootnotes_callback ( $matches )
_doAbbreviations_callback ( $matches )
_doAnchors_inline_callback ( $matches )
_doAnchors_reference_callback ( $matches )
_doDefLists_callback ( $matches )
_doFencedCodeBlocks_callback ( $matches )
_doFencedCodeBlocks_newlines ( $matches )
_doHeaders_callback_atx ( $matches )
_doHeaders_callback_setext ( $matches )
_doImages_inline_callback ( $matches )
_doImages_reference_callback ( $matches )
_doTable_callback ( $matches )
_doTable_leadingPipe_callback ( $matches )
_doTable_makeAlignAttr ( $alignname )
_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 )
_stripLinkDefinitions_callback ( $matches )
appendFootnotes ( $text )
doAbbreviations ( $text )
doAnchors ( $text )
doDefLists ( $text )
doExtraAttributes ( $tag_name, $attr )
doFencedCodeBlocks ( $text )
doFootnotes ( $text )
doHeaders ( $text )
doImages ( $text )
doTables ( $text )
formParagraphs ( $text )
hashClean ( $text )
hashHTMLBlocks ( $text )
processDefListItems ( $list_str )
setup ( )
stripAbbreviations ( $text ) ### Abbreviations ###
stripFootnotes ( $text ) ### Footnotes
stripLinkDefinitions ( $text )
teardown ( )

Method Details

__construct() public méthode

### Parser Implementation ###
public __construct ( )

_appendFootnotes_callback() protected méthode

protected _appendFootnotes_callback ( $matches )

_doAbbreviations_callback() protected méthode

protected _doAbbreviations_callback ( $matches )

_doAnchors_inline_callback() protected méthode

protected _doAnchors_inline_callback ( $matches )

_doAnchors_reference_callback() protected méthode

protected _doAnchors_reference_callback ( $matches )

_doDefLists_callback() protected méthode

protected _doDefLists_callback ( $matches )

_doFencedCodeBlocks_callback() protected méthode

protected _doFencedCodeBlocks_callback ( $matches )

_doFencedCodeBlocks_newlines() protected méthode

protected _doFencedCodeBlocks_newlines ( $matches )

_doHeaders_callback_atx() protected méthode

protected _doHeaders_callback_atx ( $matches )

_doHeaders_callback_setext() protected méthode

protected _doHeaders_callback_setext ( $matches )

_doImages_inline_callback() protected méthode

protected _doImages_inline_callback ( $matches )

_doImages_reference_callback() protected méthode

protected _doImages_reference_callback ( $matches )

_doTable_callback() protected méthode

protected _doTable_callback ( $matches )

_doTable_leadingPipe_callback() protected méthode

protected _doTable_leadingPipe_callback ( $matches )

_doTable_makeAlignAttr() protected méthode

protected _doTable_makeAlignAttr ( $alignname )

_hashHTMLBlocks_inHTML() protected méthode

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

_hashHTMLBlocks_inMarkdown() protected méthode

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

_processDefListItems_callback_dd() protected méthode

protected _processDefListItems_callback_dd ( $matches )

_processDefListItems_callback_dt() protected méthode

protected _processDefListItems_callback_dt ( $matches )

_stripAbbreviations_callback() protected méthode

protected _stripAbbreviations_callback ( $matches )

_stripFootnotes_callback() protected méthode

protected _stripFootnotes_callback ( $matches )

_stripLinkDefinitions_callback() protected méthode

protected _stripLinkDefinitions_callback ( $matches )

appendFootnotes() protected méthode

protected appendFootnotes ( $text )

doAbbreviations() protected méthode

protected doAbbreviations ( $text )

doAnchors() protected méthode

protected doAnchors ( $text )

doDefLists() protected méthode

protected doDefLists ( $text )

doExtraAttributes() protected méthode

protected doExtraAttributes ( $tag_name, $attr )

doFencedCodeBlocks() protected méthode

protected doFencedCodeBlocks ( $text )

doFootnotes() protected méthode

protected doFootnotes ( $text )

doHeaders() protected méthode

protected doHeaders ( $text )

doImages() protected méthode

protected doImages ( $text )

doTables() protected méthode

protected doTables ( $text )

formParagraphs() protected méthode

protected formParagraphs ( $text )

hashClean() protected méthode

protected hashClean ( $text )

hashHTMLBlocks() protected méthode

protected hashHTMLBlocks ( $text )

processDefListItems() protected méthode

protected processDefListItems ( $list_str )

setup() protected méthode

protected setup ( )

stripAbbreviations() protected méthode

### Abbreviations ###
protected stripAbbreviations ( $text )

stripFootnotes() protected méthode

### Footnotes
protected stripFootnotes ( $text )

stripLinkDefinitions() protected méthode

protected stripLinkDefinitions ( $text )

teardown() protected méthode

protected teardown ( )

Property Details

$abbr_desciptions protected_oe property

protected $abbr_desciptions

$abbr_word_re protected_oe property

protected $abbr_word_re

$auto_close_tags_re protected_oe property

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

$block_tags_re protected_oe property

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

$clean_tags_re protected_oe property

# they appear:
protected $clean_tags_re

$code_attr_on_pre public_oe property

# setting this to true will put attributes on the pre tag instead.
public $code_attr_on_pre

$code_class_prefix public_oe property

# Optional class prefix for fenced code block.
public $code_class_prefix

$contain_span_tags_re protected_oe property

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

$context_block_tags_re protected_oe property

# Tags treated as block tags only if the opening tag is alone on its line:
protected $context_block_tags_re

$em_relist protected_oe property

#
protected $em_relist

$em_strong_relist protected_oe property

protected $em_strong_relist

$fn_id_prefix public_oe property

# Prefix for footnote ids.
public $fn_id_prefix

$footnote_counter protected_oe property

# Give the current footnote number.
protected $footnote_counter

$footnotes protected_oe property

# Extra variables used during extra transformations.
protected $footnotes

$footnotes_numbers protected_oe property

protected $footnotes_numbers

$footnotes_ordered protected_oe property

protected $footnotes_ordered

$footnotes_ref_count protected_oe property

protected $footnotes_ref_count

$id_class_attr_catch_re protected_oe property

# Expression to use to catch attributes (includes the braces)
protected $id_class_attr_catch_re

$id_class_attr_nocatch_re protected_oe property

# Expression to use when parsing in a context when no capture is desired
protected $id_class_attr_nocatch_re

$predef_abbr public_oe property

# Predefined abbreviations.
public $predef_abbr

$strong_relist protected_oe property

protected $strong_relist

$table_align_class_tmpl public_oe property

# If empty, the align attribute is used instead of a class name.
public $table_align_class_tmpl