PHP 클래스 MarkdownVanilla, vanilla

This class extends the Markdown vendor library to add some optional customizations to the rendering process.
부터: 2.2
저자: Tim Gunter ([email protected])
상속: extends Michelf\MarkdownExtra
파일 보기 프로젝트 열기: vanilla/vanilla 1 사용 예제들

공개 메소드들

메소드 설명
addAllFlavor ( ) : void Add all Vanilla customizations to markdown parsing
addBreaks ( ) : void Add soft breaks to markdown parsing
addListFix ( ) : void Don't require a newline for unordered lists to be recognized.
addSpoilers ( ) : void Add spoilers to markdown parsing
addStrikeout ( ) : void Add strikeouts to markdown parsing

보호된 메소드들

메소드 설명
_doSoftBreaks_callback ( $matches )
_doSpoilers_callback ( $matches )
_doSpoilers_callback2 ( $matches )
_doStrikeout_callback ( $matches )
doListFix ( string $text ) : string Work around php-markdown's non-standard implementation of lists.
doSoftBreaks ( string $text ) : string Add soft line breaks implementation (2 methods).
doSpoilers ( string $text ) : string Add Spoilers implementation (3 methods).
doStrikeout ( string $text ) : string Add Strikeout implementation (2 methods).

메소드 상세

_doSoftBreaks_callback() 보호된 메소드

protected _doSoftBreaks_callback ( $matches )

_doSpoilers_callback() 보호된 메소드

protected _doSpoilers_callback ( $matches )

_doSpoilers_callback2() 보호된 메소드

protected _doSpoilers_callback2 ( $matches )

_doStrikeout_callback() 보호된 메소드

protected _doStrikeout_callback ( $matches )

addAllFlavor() 공개 메소드

Add all Vanilla customizations to markdown parsing
public addAllFlavor ( ) : void
리턴 void

addBreaks() 공개 메소드

Add soft breaks to markdown parsing
public addBreaks ( ) : void
리턴 void

addListFix() 공개 메소드

Don't require a newline for unordered lists to be recognized.
public addListFix ( ) : void
리턴 void

addSpoilers() 공개 메소드

Add spoilers to markdown parsing
public addSpoilers ( ) : void
리턴 void

addStrikeout() 공개 메소드

Add strikeouts to markdown parsing
public addStrikeout ( ) : void
리턴 void

doListFix() 보호된 메소드

Allows starting unordered lists without a newline.
protected doListFix ( string $text ) : string
$text string
리턴 string

doSoftBreaks() 보호된 메소드

Add soft line breaks implementation (2 methods).
protected doSoftBreaks ( string $text ) : string
$text string
리턴 string

doSpoilers() 보호된 메소드

Add Spoilers implementation (3 methods).
protected doSpoilers ( string $text ) : string
$text string
리턴 string

doStrikeout() 보호된 메소드

Add Strikeout implementation (2 methods).
protected doStrikeout ( string $text ) : string
$text string
리턴 string