Commit graph

16 commits

Author SHA1 Message Date
dzello
37fcc0c158 Clean up slide shortcode
Fixes a bug outputting junk into the HTML tag as a result of Scratch calls and avoid reprocessing a section that only need to be processed once
2018-08-07 18:27:19 +02:00
dzello
6f7767a751 Make the slide shortcode easier to use 2018-08-03 15:07:12 +01:00
dzello
db6d875a3f Don't try to add templates from section for _index.md
Causes a strange segfault otherwise
2018-07-23 01:36:26 +02:00
dzello
bf4801d37b Document usage of class slide attribute and don't pfx it 2018-07-23 00:49:48 +02:00
dzello
8b76bd9182 Add support for slide templates 2018-07-23 00:43:30 +02:00
dzello
e6e2234960 Add a data attribute to show where section tag came from 2018-07-23 00:09:11 +02:00
dzello
3e34fe3bc9 Pass through all slide shortcode params to section
Now slides can have ids and arbitrary data attributes, and a whitelist of valid attributes no longer needs to be maintained.
2018-07-22 18:25:48 +02:00
dzello
52eec0fd6a Improve logic for detecting whether shortcode has content inside 2018-07-22 11:50:06 +02:00
dzello
f8a8c06266 Whitespace stripping to make generated HTML more readable 2018-07-22 10:54:47 +02:00
dzello
836c449d0c Add "content" attribute to slide shortcode
Points to a data template where markdown is contained. Makes it easy to reuse slides.
2018-07-21 10:53:55 +02:00
dzello
99b4363c90 transition-speed param and example cleanup 2018-04-30 23:02:09 -07:00
dzello
f7427d4631 Add shortcodes for customizing slides, markdown, HTML 2018-04-30 18:47:20 -07:00
dzello
05130b7ce6 Add note shortcode 2018-04-30 16:24:00 -07:00
dzello
67a64c121d Add the frag shortcode 2018-04-30 12:09:27 -07:00
dzello
54ed796610 Add a shortcode for adding vertical sections 2018-04-30 01:01:10 -07:00
dzello
71f9d035ec Initial commit 2018-04-26 15:25:43 -07:00