Type alias navigationMarker

navigationMarker: { label: string; length: number; level: number; location: number; prefix: string }

An object describing a navigation location, as defined by the syntax definition. navigationMarkers and related properties are available on both Editor and Draft objects.

Type declaration

  • label: string

    Label text for the marker.

  • length: number

    The number of characters in the range.

  • level: number

    Indentation level of the marker.

  • location: number

    The start location of the range of text representing the marker.

  • prefix: string

    Prefix text for the marker. Example: H1, H2 in Markdown

Generated using TypeDoc