aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-02 21:37:15 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-02 21:37:15 -0700
commit6ea706256de67c5480b300b0063729ae8f459c4c (patch)
treec5e5b2c53f129057c4c3f45a0f6a23aeeecc4078 /data/templates
parentd32e8664498d799932927d9865ce71e014472ef3 (diff)
downloadpandoc-6ea706256de67c5480b300b0063729ae8f459c4c.tar.gz
Support --number-sections in RST output...
via the "section-numbering" directive in standalone output.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/default.rst b/data/templates/default.rst
index e9c0dc203..937eb72ae 100644
--- a/data/templates/default.rst
+++ b/data/templates/default.rst
@@ -31,6 +31,10 @@ $if(toc)$
..
$endif$
+$if(number-sections)$
+.. section-numbering::
+
+$endif$
$for(header-includes)$
$header-includes$