Property | Type | Description | |
---|---|---|---|
$level | integer |
Method | Description | |
---|---|---|
__construct ( integer $level, string | string[] $contents ) | ||
acceptsLines ( ) : boolean | Returns true if block type can accept lines of text | |
canContain ( |
Returns true if this block can contain the given block as a child node | |
finalize ( League\CommonMark\ContextInterface $context, $endLineNumber ) | ||
getLevel ( ) : integer | ||
handleRemainingContents ( League\CommonMark\ContextInterface $context, |
||
isCode ( ) : boolean | Whether this is a code block | |
matchesNextLine ( |
public __construct ( integer $level, string | string[] $contents ) | ||
$level | integer | |
$contents | string | string[] |
public acceptsLines ( ) : boolean | ||
return | boolean |
public canContain ( |
||
$block | ||
return | boolean |
public finalize ( League\CommonMark\ContextInterface $context, $endLineNumber ) | ||
$context | League\CommonMark\ContextInterface |
public handleRemainingContents ( League\CommonMark\ContextInterface $context, |
||
$context | League\CommonMark\ContextInterface | |
$cursor |
public matchesNextLine ( |
||
$cursor |