Djot.Blocktype ordered_list_style = Kernel.Ast.ordered_list_style = type ordered_list_attributes = Kernel.Ast.ordered_list_attributes = {ol_style : ordered_list_style;ol_delim : ordered_list_delim;ol_start : int;}type t = Kernel.Ast.block = | Para of Inline.t node list| Section of t node lista heading (the first child) and the blocks up to the next heading of the same or a higher level. The heading's id is on the section node.
*)| Heading of int * Inline.t node list| BlockQuote of t node list| CodeBlock of string * string| Div of string * t node listThe string is a name, written ::: name where djot reads a class, an extension (Profile.with_ext_tags); empty means unnamed.
| OrderedList of ordered_list_attributes * list_spacing * t node list node listEach item is a node, with its own location.
*)| BulletList of char * list_spacing * t node list node listThe character is the marker the items are written with: -, + or *, or : where definition lists are off.
| TaskList of list_spacing * (task_status * t node list) node list| DefinitionList of list_spacing
* (Inline.t node list node * t node list node) node listEach item holds its term and its definition.
*)| ThematicBreak| Table of Inline.t node list node * cell node list node listCaption, then rows of cells. A caption with no inlines is no caption.
*)| RawBlock of string * string| FootnoteDef of string * t node list| RefDef of string * string| AttrBlockBlock attributes with no block after them: the node has the attributes. It renders to no HTML.
*)| Ext_keyed of Inline.t node list * t nodeAn extension: label: content.
| Ext_callout of string * callout_fold option * Inline.t node list * t node listKind, fold marker, inline title, and body.
*)The blocks as djot source, for the source of one node or of a mapped tree. Unlike Doc.to_string, a heading's identifier is always written as an attribute.