```
% pandoc -t latex
# One {.unlisted}

# Two {.unnumbered}

# Three {.unlisted .unnumbered}
^D
\section{One}\label{one}

\section*{Two}\label{two}
\addcontentsline{toc}{section}{Two}

\section*{Three}\label{three}
```