# `Astral.Heading`
[🔗](https://github.com/elixir-volt/astral/blob/v0.7.0/lib/astral/heading.ex#L1)

A Markdown heading discovered while rendering content.

Headings are exposed to layouts through `@page.headings` and can be used to
build a table of contents.

# `t`

```elixir
@type t() :: %Astral.Heading{id: String.t(), level: 1..6, text: String.t()}
```

---

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