pandoc/test/command/3968.md
Henri Menke 751b5ad010 ConTeXt writer: new section syntax and --section-divs (#4295)
Fixes #2609.

This PR introduces the new-style section headings: `\section[my-header]{My Header}` -> `\section[title={My Header},reference={my-header}]`.

On top of this, the ConTeXt writer now supports the `--section-divs` option to write sections in the fenced style, with `\startsection` and `\stopsection`.
2018-01-25 11:56:28 -08:00

10 lines
175 B
Markdown

```
% pandoc --top-level-division=chapter -t context
# Chapter
## Section
^D
\chapter[title={Chapter},reference={chapter}]
\section[title={Section},reference={section}]
```