diff options
author | Henri Menke <henri@icp.uni-stuttgart.de> | 2018-01-26 08:56:28 +1300 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-01-25 11:56:28 -0800 |
commit | 751b5ad010794ec51699bfb89de91b38c85d3297 (patch) | |
tree | d2652bb932bcae8da846dc14f0730a3c0d0b853d /test/command | |
parent | 0d7aedca58742f9c353010d9877ef666ee4c7af0 (diff) | |
download | pandoc-751b5ad010794ec51699bfb89de91b38c85d3297.tar.gz |
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`.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/3968.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/command/3968.md b/test/command/3968.md index 24f0900a9..c76cfcba4 100644 --- a/test/command/3968.md +++ b/test/command/3968.md @@ -4,6 +4,7 @@ ## Section ^D -\chapter[chapter]{Chapter} -\section[section]{Section} +\chapter[title={Chapter},reference={chapter}] + +\section[title={Section},reference={section}] ``` |