-
Henrik Tramberend authoredHenrik Tramberend authored
- Slide Columns
- Mechanisms
- Box Classes
- Box Classes
- Intro
- Syntax {.split}
- Semantics
- Outro {.join}
- Box Classes
- Syntax {.split}
- Image
- Slide Masters
- Slide Masters {layout="columns"}
- Fixed Layouts {.top}
- Syntax {.left}
- Example {.right grow="1"}
- Slide Masters {layout="columns"}
- Fixed Layouts {.bottom}
- Syntax {.left grow="2"}
- Second box
- {.right}
- Slide Masters {layout="columns"}
- Image Mania {.top}
- Example {.left}
- Example {.center}
- Example {.right}
column-deck.md 1.75 KiB
history: True
Slide Columns
Mechanisms
- Box classes (
.split
and.join
) - Slide masters (
layout
slide attribute)
Box Classes
Box Classes
Intro
- No columns here, just a very long line spanning the entire slide
Syntax {.split}
- Box headers (
##
) are marked with CSS classes-
split
starts 2 columns -
join
forces 1 column
-
Semantics
- CSS3 column attributes are used for breaking
- Breaks occur on box borders
Outro {.join}
- No columns here, just a very long line spanning the entire slide
Box Classes
- No columns here
- But possibly very long lines, longer than any column is wide
Syntax {.split}
- Box headers (H2) are marked with CSS classes
-
split
starts 2 columns -
join
forces 1 column
-
Image
Slide Masters
Slide Masters {layout="columns"}
Fixed Layouts {.top}
- Just like Powerpoint and Keynote
Syntax {.left}
- Class and key-value attributes
- Assign content to layout area
- On elements Header 2, Image, Code Block, DIV
Example {.right grow="1"}
Slide Masters {layout="columns"}
Fixed Layouts {.bottom}
- Just like Powerpoint and Keynote
Syntax {.left grow="2"}
- Class and key-value attributes
- Assign content to layout area
- On elements Header 2, Image, Code Block, DIV
Second box
- In this extra wide column
{.right}
Slide Masters {layout="columns"}
Image Mania {.top}
- Even in three columns