Automatic Numbering

MarkCharm Team

September 8, 2026

# First Section

1 First Section

When a StylePack with hierarchical numbering is active (like brazilian), all sections are automatically numbered.

This is a paragraph under the first section.

## A Subsection

1.1 A Subsection

This is section 1.1.

No manual numbering needed — the compiler generates 1, 1.1, 1.1.1, etc.

### Sub-subsection

1.1.1 Sub-subsection

The depth of numbering follows the StylePack's configuration.

# Second Section

2 Second Section

This becomes section 2 automatically.

## Another Subsection

2.1 Another Subsection

And this is 2.1.

#* Unnumbered Section

Unnumbered Section

Adding an asterisk (*) immediately after the heading hashes suppresses numbering for that specific heading. This is useful for sections like "Acknowledgments" or "References" that should not be numbered.

# Third Section

3 Third Section

Numbering continues from where it left off — this is section 3.

```table
title: Component Status
---
| Component | Status |
|-----------|--------|
| Parser    | Done   |
| Renderer  | Done   |
| Exporter  | WIP    |
```
Table 3.1. Component Status
Component Status
Parser Done
Renderer Done
Exporter WIP

Tables and figures are also numbered automatically per chapter when the StylePack enables figure_numbering: "chapter".

```figure
data: von_koch_curve.gif
title: The Von Koch curve, a fractal mathematical curve.
animate: false
---
```
Figure 1. The Von Koch curve, a fractal mathematical curve.
The Von Koch curve, a fractal mathematical curve.