PHP 클래스 parsedown\Parsedown

파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

공개 메소드들

메소드 설명
instance ( $name = 'default' ) # Static
parse ( $text ) #
setBreaksEnabled ( $breaksEnabled ) # Enables GFM line breaks.
set_breaks_enabled ( $breaks_enabled ) For backwards compatibility before PSR-2 naming.

비공개 메소드들

메소드 설명
compile ( array $blocks )
findBlocks ( array $lines, $blockContext = null ) # Private
parseLine ( $text, $markers = [" ", '![', '&', '*', '<', '[', '\', '_', '`', 'http', '~~'] )

메소드 상세

instance() 정적인 공개 메소드

# Static
static public instance ( $name = 'default' )

parse() 공개 메소드

#
public parse ( $text )

setBreaksEnabled() 공개 메소드

# Enables GFM line breaks.
public setBreaksEnabled ( $breaksEnabled )

set_breaks_enabled() 공개 메소드

For backwards compatibility before PSR-2 naming.
사용 중단: Use setBreaksEnabled instead.
public set_breaks_enabled ( $breaks_enabled )