October\Rain\Parse\Parsedown\Parsedown


Protected Properties

protected mixed $breaksEnabled

protected mixed $markupEscaped

protected mixed $urlsLinked

protected mixed $safeMode

protected mixed $strictMode

protected array $BlockTypes

protected array $unmarkedBlockTypes

protected mixed $safeLinksWhitelist

protected array $InlineTypes

protected string $inlineMarkerList

protected static array $instances

protected array $DefinitionData

protected array $specialCharacters

protected array $StrongRegex

protected array $EmRegex

protected array $regexHtmlAttribute

protected array $voidElements

protected array $textLevelElements


Public Methods

public static instance()

public static instance($name = 'default'): void

public line()

public line($text, $nonNestables = []): void

public parse()

public parse($text): void

public setBreaksEnabled()

public setBreaksEnabled($breaksEnabled): void

public setIndentMode()

public setIndentMode($indentMode): void

public setMarkupEscaped()

public setMarkupEscaped($markupEscaped): void

public setSafeMode()

public setSafeMode($safeMode): void

public setStrictMode()

public setStrictMode($strictMode): void

public setUrlsLinked()

public setUrlsLinked($urlsLinked): void

public text()

public text($text): void

Protected Methods

protected blockCode()

protected blockCode($Line, $Block = null): void

protected blockCodeComplete()

protected blockCodeComplete($Block): void

protected blockCodeContinue()

protected blockCodeContinue($Line, $Block): void

protected blockComment()

protected blockComment($Line): void

protected blockCommentContinue()

protected blockCommentContinue($Line, $Block): void

protected blockFencedCode()

protected blockFencedCode($Line): void

protected blockFencedCodeComplete()

protected blockFencedCodeComplete($Block): void

protected blockFencedCodeContinue()

protected blockFencedCodeContinue($Line, $Block): void

protected blockHeader()

protected blockHeader($Line): void

protected blockList()

protected blockList($Line, $CurrentBlock = null): void

protected blockListComplete()

protected blockListComplete($Block): void

protected blockListContinue()

protected blockListContinue($Line, $Block): void

protected blockMarkup()

protected blockMarkup($Line): void

protected blockMarkupContinue()

protected blockMarkupContinue($Line, $Block): void

protected blockQuote()

protected blockQuote($Line): void

protected blockQuoteContinue()

protected blockQuoteContinue($Line, $Block): void

protected blockReference()

protected blockReference($Line): void

protected blockRule()

protected blockRule($Line): void

protected blockSetextHeader()

protected blockSetextHeader($Line, $Block = null): void

protected blockTable()

protected blockTable($Line, $Block = null): void

protected blockTableContinue()

protected blockTableContinue($Line, $Block): void

protected element()

protected element($Element): void

protected elementApplyRecursive()

protected elementApplyRecursive($closure, $Element): void

protected elementApplyRecursiveDepthFirst()

protected elementApplyRecursiveDepthFirst($closure, $Element): void

protected elements()

protected elements($Elements): void

protected elementsApplyRecursive()

protected elementsApplyRecursive($closure, $Elements): void

protected elementsApplyRecursiveDepthFirst()

protected elementsApplyRecursiveDepthFirst($closure, $Elements): void

protected static escape()

protected static escape($text, $allowQuotes = false): void

protected extractElement()

protected extractElement($Component): void

protected filterUnsafeUrlInAttribute()

protected filterUnsafeUrlInAttribute($Element, $attribute): void

protected handle()

protected handle($Element): void

protected handleElementRecursive()

protected handleElementRecursive($Element): void

protected handleElementsRecursive()

protected handleElementsRecursive($Elements): void

protected inlineCode()

protected inlineCode($Excerpt): void

protected inlineEmailTag()

protected inlineEmailTag($Excerpt): void

protected inlineEmphasis()

protected inlineEmphasis($Excerpt): void

protected inlineEscapeSequence()

protected inlineEscapeSequence($Excerpt): void

protected inlineImage()

protected inlineImage($Excerpt): void

protected inlineLink()

protected inlineLink($Excerpt): void

protected inlineMarkup()

protected inlineMarkup($Excerpt): void

protected inlineSpecialCharacter()

protected inlineSpecialCharacter($Excerpt): void

protected inlineStrikethrough()

protected inlineStrikethrough($Excerpt): void

protected inlineText()

protected inlineText($text): void

protected inlineUrl()

protected inlineUrl($Excerpt): void

protected inlineUrlTag()

protected inlineUrlTag($Excerpt): void

protected isBlockCompletable()

protected isBlockCompletable($Type): void

protected isBlockContinuable()

protected isBlockContinuable($Type): void

protected li()

protected li($lines): void

protected lineElements()

protected lineElements($text, $nonNestables = []): void

protected lines()

protected lines($lines): void

protected linesElements()

protected linesElements($lines): void

protected paragraph()

protected paragraph($Line): void

protected paragraphContinue()

protected paragraphContinue($Line, $Block): void

protected static pregReplaceElements()

protected static pregReplaceElements($regexp, $Elements, $text): void

Replace occurrences $regexp with $Elements in $text. Return an array of elements representing the replacement.

protected sanitiseElement()

protected sanitiseElement($Element): void

protected static striAtStart()

protected static striAtStart($string, $needle): void

protected textElements()

protected textElements($text): void

protected unmarkedText()

protected unmarkedText($text): void