aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorHenri Menke <henri@icp.uni-stuttgart.de>2018-01-26 08:56:28 +1300
committerJohn MacFarlane <jgm@berkeley.edu>2018-01-25 11:56:28 -0800
commit751b5ad010794ec51699bfb89de91b38c85d3297 (patch)
treed2652bb932bcae8da846dc14f0730a3c0d0b853d /test/command
parent0d7aedca58742f9c353010d9877ef666ee4c7af0 (diff)
downloadpandoc-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.md5
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}]
```