# `DocShell.Presentation.Heading`
[🔗](https://github.com/futhr/doc_shell/blob/v2.0.0/lib/doc_shell/presentation/heading.ex#L1)

Identifies a heading after deterministic anchor projection.

The site projector stores the same `id` in the page AST and this value. A
renderer therefore uses the supplied anchor for the heading, table of
contents, and incoming links instead of deriving its own slug.

# `t`

```elixir
@type t() :: %DocShell.Presentation.Heading{
  id: String.t(),
  level: 1..6,
  title: String.t()
}
```

A stable heading anchor, plain-text title and HTML heading level.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
