git.iko.soy/typeable/pandoc
on master help sign in
Fixed example of slide columns structure in changelog.

Also documented this feature in MANUAL.txt. Closes #4015.

commit1d208babe452e5e36da56f10c0aa7fa8b05666e8 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 31 Oct 2017, 10:29 (9 years ago) parenta496979
2 files changed+27−10
MANUAL.txt+19−2 changelog+8−8
MANUAL.txt+19−2
@@ -4042,18 +4042,35 @@ Speaker notes
40424042reveal.js has good support for speaker notes. You can add notes to your
40434043Markdown document thus:
40444044
4045− <div class="notes">
4045+ ::: notes
4046+
40464047 This is my note.
40474048
40484049 - It can contain Markdown
40494050 - like this list
40504051
4051− </div>
4052+ :::
40524053
40534054To show the notes window, press `s` while viewing the presentation.
40544055Notes are not yet supported for other slide formats, but the notes
40554056will not appear on the slides themselves.
40564057
4058+Columns
4059+-------
4060+
4061+To put material in side by side columns, you can use a native
4062+div container with class `columns`, containing two or more div
4063+containers with class `column` and a `width` attribute:
4064+
4065+ :::::::::::::: {.columns}
4066+ ::: {.column width="40%"}
4067+ contents...
4068+ :::
4069+ ::: {.column width="60%"}
4070+ contents...
4071+ :::
4072+ ::::::::::::::
4073+
40574074Frame attributes in beamer
40584075--------------------------
40594076
changelog+8−8
@@ -75,14 +75,14 @@ pandoc (2.0)
7575 * Implement multicolumn support for slide formats (#1710).
7676 The structure expected is:
7777
78− <div class="columns">
79− <div class="column" width="40%">
80− contents...
81− </div>
82− <div class="column" width="60%">
83− contents...
84− </div>
85− </div>
78+ :::::::::::::: {.columns}
79+ ::: {.column width="40%"}
80+ contents...
81+ :::
82+ ::: {.column width="60%"}
83+ contents...
84+ :::
85+ ::::::::::::::
8686
8787 Support has been added for beamer and all HTML slide formats.
8888