NacoWiki PHP API

DynamicParent extends Parsedown
in package

Parsedown http://parsedown.org

(c) Emanuil Rusev http://erusev.com

For the full license information, view the LICENSE file that was distributed with this source code.

Table of Contents

Constants

version  = '1.7.4'

Properties

$BlockTypes  : mixed
$breaksEnabled  : mixed
$DefinitionData  : mixed
$EmRegex  : mixed
$inlineMarkerList  : mixed
$InlineTypes  : mixed
$markupEscaped  : mixed
$regexHtmlAttribute  : mixed
$safeLinksWhitelist  : mixed
$safeMode  : mixed
$specialCharacters  : mixed
$StrongRegex  : mixed
$textLevelElements  : mixed
$unmarkedBlockTypes  : mixed
$urlsLinked  : mixed
$voidElements  : mixed
$instances  : mixed

Methods

__construct()  : mixed
instance()  : mixed
line()  : mixed
parse()  : mixed
setBreaksEnabled()  : mixed
setMarkupEscaped()  : mixed
setSafeMode()  : mixed
setUrlsLinked()  : mixed
text()  : mixed
blockCode()  : mixed
blockCodeComplete()  : mixed
blockCodeContinue()  : mixed
blockComment()  : mixed
blockCommentContinue()  : mixed
blockFencedCode()  : mixed
blockFencedCodeComplete()  : mixed
blockFencedCodeContinue()  : mixed
blockHeader()  : mixed
blockList()  : mixed
blockListComplete()  : mixed
blockListContinue()  : mixed
blockMarkup()  : mixed
blockMarkupContinue()  : mixed
blockQuote()  : mixed
blockQuoteContinue()  : mixed
blockReference()  : mixed
blockRule()  : mixed
blockSetextHeader()  : mixed
blockTable()  : mixed
blockTableContinue()  : mixed
element()  : mixed
elements()  : mixed
escape()  : mixed
filterUnsafeUrlInAttribute()  : mixed
inlineCode()  : mixed
inlineEmailTag()  : mixed
inlineEmphasis()  : mixed
inlineEscapeSequence()  : mixed
inlineImage()  : mixed
inlineLink()  : mixed
inlineMarkup()  : mixed
inlineSpecialCharacter()  : mixed
inlineStrikethrough()  : mixed
inlineUrl()  : mixed
inlineUrlTag()  : mixed
isBlockCompletable()  : mixed
isBlockContinuable()  : mixed
li()  : mixed
lines()  : mixed
paragraph()  : mixed
sanitiseElement()  : mixed
striAtStart()  : mixed
unmarkedText()  : mixed

Constants

Properties

$BlockTypes

protected mixed $BlockTypes = array('#' => array('Header'), '*' => array('Rule', 'List'), '+' => array('List'), '-' => array('SetextHeader', 'Table', 'Rule', 'List'), '0' => array('List'), '1' => array('List'), '2' => array('List'), '3' => array('List'), '4' => array('List'), '5' => array('List'), '6' => array('List'), '7' => array('List'), '8' => array('List'), '9' => array('List'), ':' => array('Table'), '<' => array('Comment', 'Markup'), '=' => array('SetextHeader'), '>' => array('Quote'), '[' => array('Reference'), '_' => array('Rule'), '`' => array('FencedCode'), '|' => array('Table'), '~' => array('FencedCode'))

$EmRegex

protected mixed $EmRegex = array('*' => '/^[*]((?:\\\\\\*|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*])/s', '_' => '/^_((?:\\\\_|[^_]|__[^_]*__)+?)_(?!_)\b/us')

$inlineMarkerList

protected mixed $inlineMarkerList = '!"*_&[:<>`~\\'

$InlineTypes

protected mixed $InlineTypes = array('"' => array('SpecialCharacter'), '!' => array('Image'), '&' => array('SpecialCharacter'), '*' => array('Emphasis'), ':' => array('Url'), '<' => array('UrlTag', 'EmailTag', 'Markup', 'SpecialCharacter'), '>' => array('SpecialCharacter'), '[' => array('Link'), '_' => array('Emphasis'), '`' => array('Code'), '~' => array('Strikethrough'), '\\' => array('EscapeSequence'))

$regexHtmlAttribute

protected mixed $regexHtmlAttribute = '[a-zA-Z_:][\w:.-]*(?:\s*=\s*(?:[^"\'=<>`\s]+|"[^"]*"|\'[^\']*\'))?'

$safeLinksWhitelist

protected mixed $safeLinksWhitelist = array('http://', 'https://', 'ftp://', 'ftps://', 'mailto:', 'data:image/png;base64,', 'data:image/gif;base64,', 'data:image/jpeg;base64,', 'irc:', 'ircs:', 'git:', 'ssh:', 'news:', 'steam:')

$specialCharacters

protected mixed $specialCharacters = array('\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!', '|')

$StrongRegex

protected mixed $StrongRegex = array('*' => '/^[*]{2}((?:\\\\\\*|[^*]|[*][^*]*[*])+?)[*]{2}(?![*])/s', '_' => '/^__((?:\\\\_|[^_]|_[^_]*_)+?)__(?!_)/us')

$textLevelElements

protected mixed $textLevelElements = array('a', 'br', 'bdo', 'abbr', 'blink', 'nextid', 'acronym', 'basefont', 'b', 'em', 'big', 'cite', 'small', 'spacer', 'listing', 'i', 'rp', 'del', 'code', 'strike', 'marquee', 'q', 'rt', 'ins', 'font', 'strong', 's', 'tt', 'kbd', 'mark', 'u', 'xm', 'sub', 'nobr', 'sup', 'ruby', 'var', 'span', 'wbr', 'time')

$unmarkedBlockTypes

protected mixed $unmarkedBlockTypes = array('Code')

$voidElements

protected mixed $voidElements = array('area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source')

Methods

instance()

public static instance([mixed $name = 'default' ]) : mixed
Parameters
$name : mixed = 'default'

line()

public line(mixed $text[, mixed $nonNestables = array() ]) : mixed
Parameters
$text : mixed
$nonNestables : mixed = array()

parse()

public parse(mixed $text) : mixed
Parameters
$text : mixed

setBreaksEnabled()

public setBreaksEnabled(mixed $breaksEnabled) : mixed
Parameters
$breaksEnabled : mixed

setMarkupEscaped()

public setMarkupEscaped(mixed $markupEscaped) : mixed
Parameters
$markupEscaped : mixed

setSafeMode()

public setSafeMode(mixed $safeMode) : mixed
Parameters
$safeMode : mixed

setUrlsLinked()

public setUrlsLinked(mixed $urlsLinked) : mixed
Parameters
$urlsLinked : mixed

blockCode()

protected blockCode(mixed $Line[, mixed $Block = null ]) : mixed
Parameters
$Line : mixed
$Block : mixed = null

blockCodeComplete()

protected blockCodeComplete(mixed $Block) : mixed
Parameters
$Block : mixed

blockCodeContinue()

protected blockCodeContinue(mixed $Line, mixed $Block) : mixed
Parameters
$Line : mixed
$Block : mixed

blockComment()

protected blockComment(mixed $Line) : mixed
Parameters
$Line : mixed

blockCommentContinue()

protected blockCommentContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
$Line : mixed
$Block : array<string|int, mixed>

blockFencedCode()

protected blockFencedCode(mixed $Line) : mixed
Parameters
$Line : mixed

blockFencedCodeComplete()

protected blockFencedCodeComplete(mixed $Block) : mixed
Parameters
$Block : mixed

blockFencedCodeContinue()

protected blockFencedCodeContinue(mixed $Line, mixed $Block) : mixed
Parameters
$Line : mixed
$Block : mixed

blockHeader()

protected blockHeader(mixed $Line) : mixed
Parameters
$Line : mixed

blockList()

protected blockList(mixed $Line) : mixed
Parameters
$Line : mixed

blockListComplete()

protected blockListComplete(array<string|int, mixed> $Block) : mixed
Parameters
$Block : array<string|int, mixed>

blockListContinue()

protected blockListContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
$Line : mixed
$Block : array<string|int, mixed>

blockMarkup()

protected blockMarkup(mixed $Line) : mixed
Parameters
$Line : mixed

blockMarkupContinue()

protected blockMarkupContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
$Line : mixed
$Block : array<string|int, mixed>

blockQuote()

protected blockQuote(mixed $Line) : mixed
Parameters
$Line : mixed

blockQuoteContinue()

protected blockQuoteContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
$Line : mixed
$Block : array<string|int, mixed>

blockReference()

protected blockReference(mixed $Line) : mixed
Parameters
$Line : mixed

blockRule()

protected blockRule(mixed $Line) : mixed
Parameters
$Line : mixed

blockSetextHeader()

protected blockSetextHeader(mixed $Line[, array<string|int, mixed> $Block = null ]) : mixed
Parameters
$Line : mixed
$Block : array<string|int, mixed> = null

blockTable()

protected blockTable(mixed $Line[, array<string|int, mixed> $Block = null ]) : mixed
Parameters
$Line : mixed
$Block : array<string|int, mixed> = null

blockTableContinue()

protected blockTableContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
$Line : mixed
$Block : array<string|int, mixed>

element()

protected element(array<string|int, mixed> $Element) : mixed
Parameters
$Element : array<string|int, mixed>

elements()

protected elements(array<string|int, mixed> $Elements) : mixed
Parameters
$Elements : array<string|int, mixed>

escape()

protected static escape(mixed $text[, mixed $allowQuotes = false ]) : mixed
Parameters
$text : mixed
$allowQuotes : mixed = false

filterUnsafeUrlInAttribute()

protected filterUnsafeUrlInAttribute(array<string|int, mixed> $Element, mixed $attribute) : mixed
Parameters
$Element : array<string|int, mixed>
$attribute : mixed

inlineCode()

protected inlineCode(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineEmailTag()

protected inlineEmailTag(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineEmphasis()

protected inlineEmphasis(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineEscapeSequence()

protected inlineEscapeSequence(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineImage()

protected inlineImage(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed
protected inlineLink(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineMarkup()

protected inlineMarkup(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineSpecialCharacter()

protected inlineSpecialCharacter(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineStrikethrough()

protected inlineStrikethrough(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineUrl()

protected inlineUrl(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

inlineUrlTag()

protected inlineUrlTag(mixed $Excerpt) : mixed
Parameters
$Excerpt : mixed

isBlockCompletable()

protected isBlockCompletable(mixed $Type) : mixed
Parameters
$Type : mixed

isBlockContinuable()

protected isBlockContinuable(mixed $Type) : mixed
Parameters
$Type : mixed

li()

protected li(mixed $lines) : mixed
Parameters
$lines : mixed

lines()

protected lines(array<string|int, mixed> $lines) : mixed
Parameters
$lines : array<string|int, mixed>

paragraph()

protected paragraph(mixed $Line) : mixed
Parameters
$Line : mixed

sanitiseElement()

protected sanitiseElement(array<string|int, mixed> $Element) : mixed
Parameters
$Element : array<string|int, mixed>

striAtStart()

protected static striAtStart(mixed $string, mixed $needle) : mixed
Parameters
$string : mixed
$needle : mixed

unmarkedText()

protected unmarkedText(mixed $text) : mixed
Parameters
$text : mixed

        
On this page

Search results