```
% pandoc --top-level-division=chapter -t context
# Chapter

## Section
^D
\chapter[title={Chapter},reference={chapter}]

\section[title={Section},reference={section}]
```