HeadingModule
final class HeadingModule extends Module
Heading module.
Constants
| DYNAMIC |
|
| FIXED |
|
Properties
| string|null | $title | ||
| $TOC | |||
| bool | $generateID | ||
| string | $idPrefix | ||
| int | $top | ||
| bool | $moreMeansHigher | ||
| int | $balancing | ||
| 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 58
__construct(Texy $texy)
No description
at line 81
void
beforeParse()
No description
at line 89
void
afterParse(Texy $texy, HtmlElement $DOM, bool $isSingleLine)
No description
at line 172
HtmlElement|string|null
patternUnderline(BlockParser $parser, array $matches)
Callback for underlined heading.
Heading .(title)[class]{style}>
at line 192
HtmlElement|string|null
patternSurround(BlockParser $parser, array $matches)
Callback for surrounded heading.
Heading .(title)[class]{style}>
at line 210
HtmlElement
solve(HandlerInvocation $invocation, int $level, string $content, Modifier $mod, bool $isSurrounded)
Finish invocation.