Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ListToDOMOptions

interface ListToDOMOptions {
getAttributes?: (node: Node$1) => Record<string, string | undefined>;
getMarkers?: (node: Node$1) => DOMOutputSpec[] | null;
nativeList?: boolean;
node: Node$1;
}

§Properties

§
getAttributes?: (node: Node$1) => Record<string, string | undefined>
[src]

An optional function to get the attributes added to HTML element.

§
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.

§

The list node to be rendered.