final class TexyHeadingModule extends TexyModule

Heading module.

Constants

DYNAMIC

FIXED

Properties

string $title
array $TOC
bool $generateID
string $idPrefix
int $top
bool $moreMeansHigher
int $balancing
array $levels

Methods

__construct($texy)

No description

beforeParse()

No description

void
afterParse($texy, $DOM, $isSingleLine)

No description

TexyHtml|string|false
patternUnderline($parser, $matches)

Callback for underlined heading.

TexyHtml|string|false
patternSurround($parser, $matches)

Callback for surrounded heading.

solve($invocation, $level, $content, $mod, $isSurrounded)

Finish invocation.

Details

at line 51
__construct($texy)

No description

Parameters

$texy

at line 74
beforeParse()

No description

at line 88
void afterParse($texy, $DOM, $isSingleLine)

No description

Parameters

$texy
$DOM
$isSingleLine

Return Value

void

at line 172
TexyHtml|string|false patternUnderline($parser, $matches)

Callback for underlined heading.

Heading .(title)[class]{style}>

Parameters

$parser
$matches

Return Value

TexyHtml|string|false

at line 196
TexyHtml|string|false patternSurround($parser, $matches)

Callback for surrounded heading.

Heading .(title)[class]{style}>

Parameters

$parser
$matches

Return Value

TexyHtml|string|false

at line 221
TexyHtml solve($invocation, $level, $content, $mod, $isSurrounded)

Finish invocation.

Parameters

$invocation
$level
$content
$mod
$isSurrounded

Return Value

TexyHtml