PHP Класс yii\console\Markdown

Based on cebe/markdown.
С версии: 2.0
Автор: Carsten Brandt ([email protected])
Наследование: extends cebe\markdown\Parser, use trait cebe\markdown\block\FencedCodeTrait, use trait cebe\markdown\inline\CodeTrait, use trait cebe\markdown\inline\EmphStrongTrait, use trait cebe\markdown\inline\StrikeoutTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$escapeCharacters these are "escapeable" characters. When using one of these prefixed with a backslash, the character will be outputted without the backslash and is not interpreted as markdown.

Защищенные методы

Метод Описание
renderCode ( array $block ) : string Renders a code block
renderEmph ( array $element ) : string Renders empathized elements.
renderInlineCode ( array $element ) : string Renders an inline code span ``.
renderParagraph ( string $block ) : string Render a paragraph block
renderStrike ( array $element ) : string Renders the strike through feature.
renderStrong ( array $element ) : string Renders strong elements.

Описание методов

renderCode() защищенный Метод

Renders a code block
protected renderCode ( array $block ) : string
$block array
Результат string

renderEmph() защищенный Метод

Renders empathized elements.
protected renderEmph ( array $element ) : string
$element array
Результат string

renderInlineCode() защищенный Метод

Renders an inline code span ``.
protected renderInlineCode ( array $element ) : string
$element array
Результат string

renderParagraph() защищенный Метод

Render a paragraph block
protected renderParagraph ( string $block ) : string
$block string
Результат string

renderStrike() защищенный Метод

Renders the strike through feature.
protected renderStrike ( array $element ) : string
$element array
Результат string

renderStrong() защищенный Метод

Renders strong elements.
protected renderStrong ( array $element ) : string
$element array
Результат string

Описание свойств

$escapeCharacters защищенное свойство

these are "escapeable" characters. When using one of these prefixed with a backslash, the character will be outputted without the backslash and is not interpreted as markdown.
protected $escapeCharacters