diff options
author | Emily Bourke <undergroundquizscene@protonmail.com> | 2021-09-07 13:38:47 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-09-15 09:13:05 -0700 |
commit | 0fb6474a55427b52bf9aebd179f7b26f30c7dbaf (patch) | |
tree | 805afab753da87814146374b3305fc2f60f5024a /test/tables.opendocument | |
parent | a3162d341b2937113514b5f515cbc86141fbfcf2 (diff) | |
download | pandoc-0fb6474a55427b52bf9aebd179f7b26f30c7dbaf.tar.gz |
pptx: Add support for incremental lists
- Support -i option
- Support incremental/noincremental divs
- Support older block quote syntax
- Add tests
One thing not clear from the manual is what should happen when the input
uses a combination of these things. For example, what should the
following produce?
```md
::: {.incremental .nonincremental}
- are
- these
- incremental?
:::
::: incremental
::::: nonincremental
- or
- these?
:::::
:::
::: nonincremental
> - how
> - about
> - these?
:::
```
In this commit I’ve taken the following approach, matching the observed
behaviour for beamer and reveal.js output:
- if a div with both classes, incremental wins
- the innermost incremental/nonincremental div is the one which takes
effect
- a block quote containing a list as its first element inverts whether
the list is incremental, whether or not the quote is inside an
incremental/non-incremental div
I’ve added some tests to verify this behaviour.
This commit closes issue #5689
(https://github.com/jgm/pandoc/issues/5689).
Diffstat (limited to 'test/tables.opendocument')
0 files changed, 0 insertions, 0 deletions