Skip to content

MKSetextHeadingBlock

Inherits MKBlock

Description

Represents a setext heading within a Markdown document.

Properties

Name Type Read-Only
Level Integer
UnderlineLength Integer
UnderlineLineNumber Integer
UnderlineLocalStart Integer
UnderlineStart Integer

Methods

Name Parameters Returns
Constructor parent As MKBlock, blockStart As Integer
Finalise line As XUITextLine

Property Descriptions

Level As Integer

This ATX header's level.


UnderlineLength As Integer

If this block is a Setext header then this is the length (in characters) of the Setext underline.


UnderlineLineNumber As Integer

The number of the line that the setext heading underline is on.


UnderlineLocalStart As Integer

The 0-based local position on the line that the setext heading underline begins at.


UnderlineStart As Integer

0-based position in the original source code of the first character of a Setext underline (if this block is a Setext header).


Method Descriptions

Constructor(parent As MKBlock, blockStart As Integer)

Default constructor.

  • parent is the parent of this block.
  • blockStart is the 0-based position in the original Markdown source that this block begins at.

Finalise(line As XUITextLine)

Closes this block and makes any final changes that may be required.