@@ -306,6 +306,15 @@ Options
306: Produce LaTeX output for the `beamer` document class.
306: Produce LaTeX output for the `beamer` document class.
307 This has an effect only for `latex` or `pdf` output.
307 This has an effect only for `latex` or `pdf` output.
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.
309`--section-divs`
318`--section-divs`
310: Wrap sections in `<div>` tags (or `<section>` tags in HTML5),
319: Wrap sections in `<div>` tags (or `<section>` tags in HTML5),
311 and attach identifiers to the enclosing `<div>` (or `<section>`)
320 and attach identifiers to the enclosing `<div>` (or `<section>`)
@@ -2006,20 +2015,24 @@ slide show, including linked scripts, stylesheets, images, and videos.
2006Structuring the slide show
2015Structuring the slide show
2007--------------------------
2016--------------------------
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.
2009The document is carved up into slides according to the following
2025The document is carved up into slides according to the following
2010−rules. The *content level* is the the highest header level in the hierarchy
2026+rules:
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.
2015 * A horizontal rule always starts a new slide.
2028 * A horizontal rule always starts a new slide.
2017− * A header at the content level always starts a new slide.
2030+ * A header at the slide level always starts a new slide.
2019− * Headers *below* the content level in the hierarchy create
2032+ * Headers *below* the slide level in the hierarchy create
2020 headers *within* a slide.
2033 headers *within* a slide.
2022− * Headers *above* the content level in the hierarchy create
2035+ * Headers *above* the slide level in the hierarchy create
2023 "title slides," which just contain the section title
2036 "title slides," which just contain the section title
2024 and help to break the slide show into sections.
2037 and help to break the slide show into sections.
@@ -2030,7 +2043,7 @@ level 2 headers, which are followed by content, so 2 is the content level.
2030These rules are designed to support many different styles of slide show. If
2043These rules are designed to support many different styles of slide show. If
2031you don't care about structuring your slides into sections and subsections,
2044you don't care about structuring your slides into sections and subsections,
2032you can just use level 1 headers for all each slide. (In that case, level 1
2045you 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
2034sections, as in the example above.
2047sections, as in the example above.
2036For Slidy and S5, the file produced by pandoc with the `-s/--standalone`
2049For Slidy and S5, the file produced by pandoc with the `-s/--standalone`