Skip to content

MarkdownParser ​

Type
Class
Namespace
craft\console
Inherits
craft\console\MarkdownParser » yii\console\Markdown » cebe\markdown\Parser
Uses traits
cebe\markdown\block\FencedCodeTrait, cebe\markdown\inline\CodeTrait, cebe\markdown\inline\EmphStrongTrait, cebe\markdown\inline\StrikeoutTrait
Since
4.3.5

Markdown parser

View source

Protected Properties ​

PropertyDescription
escapeCharactersarray – These are "escapeable" characters.

Protected Methods ​

MethodDescription
renderCode()
renderEmph()Renders empathized elements.
renderInlineCode()
renderParagraph()Render a paragraph block.
renderStrike()Renders the strike through feature.
renderStrong()Renders strong elements.

renderCode() ​

View source

Arguments ​

  • $block

renderInlineCode() ​

View source

Arguments ​

  • $element