Safe Haskell | None |
---|---|
Language | Haskell2010 |
Conversion of lvl-x-headings to x-column-layouts in HTML especially for use in revealjs-slides
- cols :: [Block] -> [Block]
Documentation
cols :: [Block] -> [Block] Source #
This filter makes multi-column-layouts out of lvl-x-headings
Syntax is
## a b
yielding a 2-column-layout with aspects a:b i.e. 1:1 for 50/50-layout or 8:2 for 80/20 layout
currently works for 2 and 3-columns, but extension is straight-forward.
If you need multiple Block-Elements inside one column, just wrap them
with a <div>
:
## 2 5 <div> multiple things ``` foo ``` </div> second column here with only 1 element.