# Markup.Djot v0.1.0 - API Reference

## Modules

- [Markup.Djot](Markup.Djot.md): [Djot](https://djot.net) for `Markup`, backed by the Rust
[jotdown](https://github.com/hellux/jotdown) crate.
- [Markup.Djot.Attributes](Markup.Djot.Attributes.md): Helpers for node attribute lists.
- [Markup.Djot.Blockquote](Markup.Djot.Blockquote.md): A block quote.
- [Markup.Djot.Caption](Markup.Djot.Caption.md): A table caption.
- [Markup.Djot.CodeBlock](Markup.Djot.CodeBlock.md): A fenced code block.
- [Markup.Djot.Delete](Markup.Djot.Delete.md): Deleted text (`{-x-}`).
- [Markup.Djot.DescriptionDetails](Markup.Djot.DescriptionDetails.md): The details of a definition list term.
- [Markup.Djot.DescriptionList](Markup.Djot.DescriptionList.md): A definition list.
- [Markup.Djot.DescriptionTerm](Markup.Djot.DescriptionTerm.md): A term in a definition list.
- [Markup.Djot.Div](Markup.Djot.Div.md): A `:::` div. `class` is the class given after the fence.
- [Markup.Djot.Emphasis](Markup.Djot.Emphasis.md): Emphasis (`_x_`).
- [Markup.Djot.Footnote](Markup.Djot.Footnote.md): A footnote definition.
- [Markup.Djot.FootnoteReference](Markup.Djot.FootnoteReference.md): A footnote reference (`[^label]`).
- [Markup.Djot.HardBreak](Markup.Djot.HardBreak.md): A hard line break.
- [Markup.Djot.Heading](Markup.Djot.Heading.md): A heading. `has_section` is true when wrapped by a `Markup.Djot.Section` that owns the id.
- [Markup.Djot.Image](Markup.Djot.Image.md): An image; `nodes` are the alt text. `link_type` as in `Markup.Djot.Link`.
- [Markup.Djot.Insert](Markup.Djot.Insert.md): Inserted text (`{+x+}`).
- [Markup.Djot.Link](Markup.Djot.Link.md): A link. `link_type` is `:inline`, `:reference`, `:unresolved`, `:autolink`, or `:email`.
- [Markup.Djot.LinkDefinition](Markup.Djot.LinkDefinition.md): A reference link definition. Not rendered.
- [Markup.Djot.List](Markup.Djot.List.md): A list.
- [Markup.Djot.ListItem](Markup.Djot.ListItem.md): An item of a bullet or ordered list.
- [Markup.Djot.Mark](Markup.Djot.Mark.md): Highlighted text (`{=x=}`).
- [Markup.Djot.Math](Markup.Djot.Math.md): Inline (`$`x``) or display (`$$`x``) math.
- [Markup.Djot.NonBreakingSpace](Markup.Djot.NonBreakingSpace.md): A non-breaking space (`\ `).
- [Markup.Djot.Paragraph](Markup.Djot.Paragraph.md): A paragraph.
- [Markup.Djot.Raw](Markup.Djot.Raw.md): Raw HTML written verbatim. Never produced by the parser; for plugins (see `Markup.safe_html/2`).
- [Markup.Djot.RawBlock](Markup.Djot.RawBlock.md): A raw block (```` ```=format ````). Only `html` is rendered.
- [Markup.Djot.RawInline](Markup.Djot.RawInline.md): Raw inline content (`` `x`{=format} ``). Only `html` is rendered.
- [Markup.Djot.Section](Markup.Djot.Section.md): A section wrapping a heading and the blocks under it.
- [Markup.Djot.SmartPunctuation](Markup.Djot.SmartPunctuation.md): Smart punctuation. `kind` is `:left_single_quote`, `:right_single_quote`, `:left_double_quote`, `:right_double_quote`, `:ellipsis`, `:en_dash`, or `:em_dash`.
- [Markup.Djot.SoftBreak](Markup.Djot.SoftBreak.md): A soft line break.
- [Markup.Djot.Span](Markup.Djot.Span.md): A `[text]{attrs}` span.
- [Markup.Djot.Strong](Markup.Djot.Strong.md): Strong emphasis (`*x*`).
- [Markup.Djot.Subscript](Markup.Djot.Subscript.md): Subscript (`~x~`).
- [Markup.Djot.Superscript](Markup.Djot.Superscript.md): Superscript (`^x^`).
- [Markup.Djot.Symbol](Markup.Djot.Symbol.md): A symbol (`:name:`), rendered as `:name:`.
- [Markup.Djot.Table](Markup.Djot.Table.md): A table.
- [Markup.Djot.TableCell](Markup.Djot.TableCell.md): A table cell. `alignment` is `:unspecified`, `:left`, `:center`, or `:right`.
- [Markup.Djot.TableRow](Markup.Djot.TableRow.md): A table row.
- [Markup.Djot.TaskListItem](Markup.Djot.TaskListItem.md): An item of a task list.
- [Markup.Djot.Text](Markup.Djot.Text.md): Plain text.
- [Markup.Djot.ThematicBreak](Markup.Djot.ThematicBreak.md): A thematic break (`<hr>`).
- [Markup.Djot.Verbatim](Markup.Djot.Verbatim.md): Inline code.

- Exceptions
  - [Markup.Djot.Error](Markup.Djot.Error.md): Returned (or raised) when rendering, sanitizing, or highlighting a Djot document fails.

