Skip to content

Interface: MarkJSON ​

A mark in the JSON document format.

Properties ​

PropertyTypeDescription
attrs?Record<string, unknown>Mark attributes, e.g. href for a link. Omitted when the mark has none.
typestringMark type name, e.g. 'bold' or 'link'.