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
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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