Share via


ContentSpan interface

Position of the element in markdown, specified as a character offset and length.

Properties

length

Length of the element in markdown, specified in characters.

offset

Starting position (0-indexed) of the element in markdown, specified in characters.

Property Details

length

Length of the element in markdown, specified in characters.

length: number

Property Value

number

offset

Starting position (0-indexed) of the element in markdown, specified in characters.

offset: number

Property Value

number