diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-31 10:29:41 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-31 10:57:20 -0700 |
commit | 1d208babe452e5e36da56f10c0aa7fa8b05666e8 (patch) | |
tree | 5bef4352819fb438a0a2cfb72c40ee63ce8625eb | |
parent | a496979c6d0eb3e6efd57264cb89d4aad1f7afdb (diff) |
Fixed example of slide columns structure in changelog.
Also documented this feature in MANUAL.txt.
Closes #4015.
-rw-r--r-- | MANUAL.txt | 21 | ||||
-rw-r--r-- | changelog | 16 |
2 files changed, 27 insertions, 10 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index fc33b3433..1c61b62fd 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -4042,18 +4042,35 @@ Speaker notes reveal.js has good support for speaker notes. You can add notes to your Markdown document thus: - <div class="notes"> + ::: notes + This is my note. - It can contain Markdown - like this list - </div> + ::: To show the notes window, press `s` while viewing the presentation. Notes are not yet supported for other slide formats, but the notes 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 -------------------------- @@ -75,14 +75,14 @@ pandoc (2.0) * Implement multicolumn support for slide formats (#1710). The structure expected is: - <div class="columns"> - <div class="column" width="40%"> - contents... - </div> - <div class="column" width="60%"> - contents... - </div> - </div> + :::::::::::::: {.columns} + ::: {.column width="40%"} + contents... + ::: + ::: {.column width="60%"} + contents... + ::: + :::::::::::::: Support has been added for beamer and all HTML slide formats. |