Fixed example of slide columns structure in changelog.

Also documented this feature in MANUAL.txt.

Closes #4015.
This commit is contained in:
John MacFarlane 2017-10-31 10:29:41 -07:00
parent a496979c6d
commit 1d208babe4
2 changed files with 27 additions and 10 deletions

View file

@ -4042,18 +4042,35 @@ Speaker notes
reveal.js has good support for speaker notes. You can add notes to your reveal.js has good support for speaker notes. You can add notes to your
Markdown document thus: Markdown document thus:
<div class="notes"> ::: notes
This is my note. This is my note.
- It can contain Markdown - It can contain Markdown
- like this list - like this list
</div> :::
To show the notes window, press `s` while viewing the presentation. To show the notes window, press `s` while viewing the presentation.
Notes are not yet supported for other slide formats, but the notes Notes are not yet supported for other slide formats, but the notes
will not appear on the slides themselves. will not appear on the slides themselves.
Columns
-------
To put material in side by side columns, you can use a native
div container with class `columns`, containing two or more div
containers with class `column` and a `width` attribute:
:::::::::::::: {.columns}
::: {.column width="40%"}
contents...
:::
::: {.column width="60%"}
contents...
:::
::::::::::::::
Frame attributes in beamer Frame attributes in beamer
-------------------------- --------------------------

View file

@ -75,14 +75,14 @@ pandoc (2.0)
* Implement multicolumn support for slide formats (#1710). * Implement multicolumn support for slide formats (#1710).
The structure expected is: The structure expected is:
<div class="columns"> :::::::::::::: {.columns}
<div class="column" width="40%"> ::: {.column width="40%"}
contents... contents...
</div> :::
<div class="column" width="60%"> ::: {.column width="60%"}
contents... contents...
</div> :::
</div> ::::::::::::::
Support has been added for beamer and all HTML slide formats. Support has been added for beamer and all HTML slide formats.