HeadingModule
final class HeadingModule extends Module
Heading module.
Constants
DYNAMIC |
|
FIXED |
|
Properties
$title | textual content of first heading |
||
$TOC | |||
$generateID | |||
$idPrefix | prefix for autogenerated ID |
||
$top | level of top heading, 1..6 |
||
$moreMeansHigher | surrounded headings: more #### means higher heading |
||
$balancing | balancing mode |
||
array<string,int> | $levels |
Methods
void
beforeParse()
No description
void
HtmlElement|string|null
HtmlElement|string|null
solve(HandlerInvocation $invocation, int $level, string $content, Modifier $mod, bool $isSurrounded)
Finish invocation.
Details
at line 57
__construct(Texy $texy)
No description
at line 80
void
beforeParse()
No description
at line 88
void
afterParse(Texy $texy, HtmlElement $DOM, bool $isSingleLine)
No description
at line 170
HtmlElement|string|null
patternUnderline(BlockParser $parser, array $matches)
Callback for underlined heading.
Heading .(title)[class]{style}>
at line 189
HtmlElement|string|null
patternSurround(BlockParser $parser, array $matches)
Callback for surrounded heading.
Heading .(title)[class]{style}>
at line 207
HtmlElement
solve(HandlerInvocation $invocation, int $level, string $content, Modifier $mod, bool $isSurrounded)
Finish invocation.