ListToDOMOptions
interface ListToDOMOptions {
getAttributes?: (node: Node$1) => Record<string, string | undefined>;
getMarkers?: (node: Node$1) => DOMOutputSpec[] | null;
nativeList?: boolean;
node: Node$1;
}§Properties
§
getMarkers?: (node: Node$1) => DOMOutputSpec[] | null
[src]An optional function to get elements inside <div class="list-marker">.
Return null to hide the marker.
§
nativeList?: boolean
[src]If true, the list will be rendered as a native <ul> or <ol> element.
You might want to use joinListElements to join the list elements
afterward.