Djot.Mapperval default : 'a resultKeep the node and map its children.
val delete : 'a filter_map resultval ret : 'a -> 'a filter_map resulttype 'a mapper = t -> 'a -> 'a filter_map resultA Block.t.Ext_keyed whose block is deleted is deleted.
The document made of the mapped blocks, as Doc.make gives it, with the profile and the positions of the one given. The mapper sees Doc.blocks without the identifiers in Doc.auto_identifiers; they are derived again from the result, and so are the sections, Doc.footnotes, Doc.references and Doc.auto_references.
The result is not tied to any text: an edit of the Source the document came from gives the parse of the edited text, without the map.
val holes_as_raw : tEach Inline.t.Hole e as RawInline ("hole", e), which is also what `e`{=hole} reads as. A consumer that evaluates holes then has one shape inline, a raw inline in format hole, as it has one for blocks, a raw block in that format.