@@ -306,6 +306,15 @@ Options
306306: Produce LaTeX output for the `beamer` document class.
307307 This has an effect only for `latex` or `pdf` output.
308308
309+`--slide-level`=*NUMBER*
310+: Specifies that headers with the specified level create
311+ slides (for `beamer`, `s5`, `slidy`, `dzslides`). Headers
312+ above this level in the hierarchy are used to divide the
313+ slide show into sections; headers below this level create
314+ subheads within a slide. The default is to set the slide level
315+ based on the contents of the document; see
316+ [Structuring the slide show](#structuring-the-slide-show), below.
317+
309318`--section-divs`
310319: Wrap sections in `<div>` tags (or `<section>` tags in HTML5),
311320 and attach identifiers to the enclosing `<div>` (or `<section>`)
@@ -2006,20 +2015,24 @@ slide show, including linked scripts, stylesheets, images, and videos.
20062015Structuring the slide show
20072016--------------------------
20082017
2018+By default, the *slide level* is the highest header level in
2019+the hierarchy that is followed immediately by content, and not another
2020+header, somewhere in the document. In the example above, level 1 headers
2021+are always followed by level 2 headers, which are followed by content,
2022+so 2 is the slide level. This default can be overridden using
2023+the `--slide-level` option.
2024+
20092025The document is carved up into slides according to the following
2010−rules. The *content level* is the the highest header level in the hierarchy
2011−that is followed immediately by content, and not another header, somewhere in
2012−the document. In the example above, level 1 headers are always followed by
2013−level 2 headers, which are followed by content, so 2 is the content level.
2026+rules:
20142027
20152028 * A horizontal rule always starts a new slide.
20162029
2017− * A header at the content level always starts a new slide.
2030+ * A header at the slide level always starts a new slide.
20182031
2019− * Headers *below* the content level in the hierarchy create
2032+ * Headers *below* the slide level in the hierarchy create
20202033 headers *within* a slide.
20212034
2022− * Headers *above* the content level in the hierarchy create
2035+ * Headers *above* the slide level in the hierarchy create
20232036 "title slides," which just contain the section title
20242037 and help to break the slide show into sections.
20252038
@@ -2030,7 +2043,7 @@ level 2 headers, which are followed by content, so 2 is the content level.
20302043These rules are designed to support many different styles of slide show. If
20312044you don't care about structuring your slides into sections and subsections,
20322045you can just use level 1 headers for all each slide. (In that case, level 1
2033−will be the content level.) But you can also structure the slide show into
2046+will be the slide level.) But you can also structure the slide show into
20342047sections, as in the example above.
20352048
20362049For Slidy and S5, the file produced by pandoc with the `-s/--standalone`