Skip to content

MKInlineImage

Inherits MKBlock

Description

Represents an inline image within a Markdown document.

Properties

Name Type Read-Only
CloserCharacter MarkdownKit.MKCharacter
Destination MarkdownKit.MKLinkDestination
FullReferenceDestinationCloser MarkdownKit.MKCharacter
FullReferenceDestinationOpener MarkdownKit.MKCharacter
FullReferenceLabelLength Integer
HasDestination Boolean
HasTitle Boolean
Label MarkdownKit.MKLinkLabel
LinkType MarkdownKit.MKLinkTypes
LocalStart Integer
OpenerCharacter MarkdownKit.MKCharacter
Title MarkdownKit.MKLinkTitle

Methods

Name Parameters Returns
Constructor parent As MKBlock, absoluteStart As Integer, data As MarkdownKit.MKInlineLinkData

Property Descriptions

CloserCharacter As MarkdownKit.MKCharacter

The link closing bracket character. Comes either after the link label or the link text (depending on the link type).


Destination As MarkdownKit.MKLinkDestination

This inline image's destination.


FullReferenceDestinationCloser As MarkdownKit.MKCharacter

If this is a full reference type inline link, this is the ] character after the reference link's name.


FullReferenceDestinationOpener As MarkdownKit.MKCharacter

If this is a full reference type inline link, this is the [ character before the reference link's name.


FullReferenceLabelLength As Integer

If this is a full reference type inline image, this is the length of the reference link label.


HasDestination As Boolean

True if this image has a destination.


HasTitle As Boolean

True if this image has a title defined (may be empty but delimited).


Label As MarkdownKit.MKLinkLabel

This inline images's label. May be Nil.


LinkType As MarkdownKit.MKLinkTypes

The type of link this is.


LocalStart As Integer

The local 0-based index in Parent.Characters that this inline image begins at.


OpenerCharacter As MarkdownKit.MKCharacter

The link opener character (!).


Title As MarkdownKit.MKLinkTitle

This inline image's optional title. May be Nil.


Method Descriptions

Constructor(parent As MKBlock, absoluteStart As Integer, data As MarkdownKit.MKInlineLinkData)

Default constructor.

  • parent is this block's parent block.
  • absoluteStart is the 0-based position in the original source of the start of this block.
  • data is the data required to create this block.