mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
ConTeXt writer: add support for unlisted, unnumbered headings
Closes: #8486
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
# Unnumbered and unlisted headings in ConTeXt
|
||||
|
||||
```
|
||||
% pandoc --to=context
|
||||
|
||||
# Preface {.unlisted -}
|
||||
|
||||
Nullam rutrum.
|
||||
|
||||
# Introduction
|
||||
|
||||
Nullam eu ante vel est convallis dignissim.
|
||||
|
||||
# Methods
|
||||
|
||||
Sed diam. Nulla posuere. Praesent fermentum tempor tellus. Nam
|
||||
vestibulum accumsan nisl. Nam vestibulum accumsan nisl.
|
||||
|
||||
# References {-}
|
||||
^D
|
||||
\startsectionlevel[title={Preface},reference={preface},number=no,incrementnumber=no]
|
||||
|
||||
Nullam rutrum.
|
||||
|
||||
\stopsectionlevel
|
||||
|
||||
\startsectionlevel[title={Introduction},reference={introduction}]
|
||||
|
||||
Nullam eu ante vel est convallis dignissim.
|
||||
|
||||
\stopsectionlevel
|
||||
|
||||
\startsectionlevel[title={Methods},reference={methods}]
|
||||
|
||||
Sed diam. Nulla posuere. Praesent fermentum tempor tellus. Nam
|
||||
vestibulum accumsan nisl. Nam vestibulum accumsan nisl.
|
||||
|
||||
\stopsectionlevel
|
||||
|
||||
\startsectionlevel[title={References},reference={references},number=no,incrementnumber=no]
|
||||
|
||||
\stopsectionlevel
|
||||
```
|
||||
Reference in New Issue
Block a user