pandoc/test/Tests/Writers
Emily Bourke 8e5a79f264 pptx: Make first heading title if slide level is 0
Before this commit, the pptx writer adds a slide break before any table,
“columns” div, or paragraph starting with an image, unless the only
thing before it on the same slide is a heading at the slide level. In
that case, the item and heading are kept on the same slide, and the
heading is used as the slide title (inserted into the layout’s “title”
placeholder).

However, if the slide level is set to 0 (as was recently enabled) this
makes it impossible to have a slide with a title which contains any of
those items in its body.

This commit changes this behaviour: now if the slide level is 0, then
items will be kept with a heading of any level, if the heading’s the
only thing before the item on the same slide.
2021-08-27 09:47:03 -07:00
..
AnnotatedTable.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
AsciiDoc.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
ConTeXt.hs ConTeXt writer: use span identifiers as reference anchors. 2021-05-17 13:14:32 +02:00
Docbook.hs DocBook writer: Remove non-existent admonitions 2021-06-05 08:02:21 -06:00
Docx.hs Make docx writer sensitive to native_numbering extension. 2021-08-15 15:05:54 -07:00
FB2.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
HTML.hs HTML writer: ensure headings only have valid attribs in HTML4 2021-05-17 15:42:15 +02:00
JATS.hs JATS writer: use either styled-content or named-content for spans. 2021-04-28 22:21:34 +02:00
Jira.hs Jira: add support for "smart" links 2021-05-25 16:54:42 +02:00
LaTeX.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Markdown.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Ms.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Muse.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Native.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
OOXML.hs OOXML tests: silence warnings. 2021-08-17 15:33:10 -07:00
Org.hs Org: support task_lists extension 2021-02-13 13:00:37 -08:00
Plain.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Powerpoint.hs pptx: Make first heading title if slide level is 0 2021-08-27 09:47:03 -07:00
RST.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
TEI.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00