Method | Description | |
---|---|---|
instance ( $name = 'default' ) | # Static | |
parse ( $text ) | # | |
setBreaksEnabled ( $breaksEnabled ) | # Enables GFM line breaks. | |
set_breaks_enabled ( $breaks_enabled ) | For backwards compatibility before PSR-2 naming. |
Method | Description | |
---|---|---|
compile ( array $blocks ) | ||
findBlocks ( array $lines, $blockContext = null ) | # Private | |
parseLine ( $text, $markers = [" ", '![', '&', '*', '<', '[', '\', '_', '`', 'http', '~~'] ) |
public setBreaksEnabled ( $breaksEnabled ) |
public set_breaks_enabled ( $breaks_enabled ) |