Skip to content

MKInlineHTML

Inherits MKBlock

Description

Represents an inline HTML block within a Markdown document.

Properties

Name Type Read-Only
Destination String
EndCharacter MarkdownKit.MKCharacter
IsAutoLink Boolean
Label String
LocalRightAnglePos Integer
LocalStart Integer
ParentLocalStart Integer
Title String

Methods

Name Parameters Returns
Constructor parent As MKBlock, absoluteStartPos As Integer, parentLocalStart As Integer, localStartPos As Integer, absoluteRightAngleChar As MKCharacter, parentLocalRightAnglePos As Integer
Finalise line As XUITextLine

Property Descriptions

Destination As String

If this inline HTML has a link, this is the destination.


EndCharacter As MarkdownKit.MKCharacter

The ending > character.


IsAutoLink As Boolean

True if this inline HTML is an autolink.


Label As String

This inline HTML's optional link label.


LocalRightAnglePos As Integer

The 0-based position in Parent.Characters of the closing right angle bracket.


LocalStart As Integer

The 0-based index on the line of the opening left angle bracket of this inline HTML.


ParentLocalStart As Integer

The 0-based index in Parent.Characters of the opening left angle bracket of this inline HTML.


Title As String

This inline HTML's title (if any).


Method Descriptions

Constructor(parent As MKBlock, absoluteStartPos As Integer, parentLocalStart As Integer, localStartPos As Integer, absoluteRightAngleChar As MKCharacter, parentLocalRightAnglePos As Integer)

Default constructor.

  • parent is this block's parent block.
  • absoluteStartPos is the 0-based position in the original source of the start of this block.
  • parentLocalStart is the 0-based index in parent.Characters of the opening left angle bracket of this inline HTML.
  • localStartPos is the 0-based index on the line of the opening left angle bracket of this inline HTML.
  • absoluteRightAngleChar is a reference to the actual ending > character.
  • parentLocalRightAnglePos is the 0-based position in parent.Characters of the closing right angle bracket.

Finalise(line As XUITextLine)

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