Valvin
e4f4cb51a0
Add new settings to extend layout #58
2019-10-11 13:15:43 +02:00
Josh Dzielak
156b1951e1
Merge pull request #55 from chatziko/hugo-highlighter
...
Support for Hugo's highlighter
2019-10-11 12:34:01 +02:00
Kostas Chatzikokolakis
83a0216daf
Disable highlight.js for code processed by Hugo's hl
2019-09-12 17:49:16 +03:00
Kostas Chatzikokolakis
f3d10065d3
Fix bug in section presentations introduced by #51
...
Section presentations were including slides from the root presentation.
2019-09-12 12:21:14 +03:00
Kostas Chatzikokolakis
cd5ca462ac
Add reveal_hugo.load_default_plugins option
2019-09-11 13:40:22 +03:00
Josh Dzielak
68429eccc3
Merge pull request #50 from chatziko/master
...
Support mmark
2019-09-06 11:36:58 -07:00
Kostas Chatzikokolakis
24346492a8
Replace .Pages/.Data.Pages by .Site.RegularPages
2019-09-06 11:05:29 +03:00
Kostas Chatzikokolakis
637b22ac18
Support mmark (replace <hr> by <hr />)
...
Mmark produces "<hr>" while blackfriday produces "<hr />". A simple
replace allows to support both.
2019-09-05 18:59:31 +03:00
Valvin
cc5737d037
Allow nested folder for reusable slide
2019-07-27 15:12:58 +02:00
Steven White
100e73693d
add fix for 0.55 shortcode behavior; markdownify func
2019-04-30 18:59:23 -04:00
dzello
aac254d541
Use ExecuteAsTemplate to process custom themes
2019-04-06 02:29:51 +02:00
dzello
ea8ae484c1
Refactor layouts to be more readable
2019-03-25 01:46:21 +01:00
dzello
c7fd35274d
Add layout and example for leaf bundles; addresses #27
2019-03-25 01:46:06 +01:00
dzello
fc11a37889
Improve how plugin javascript is loaded
...
- Load the plugins after Reveal.initialize or some plugins don't work
- Put the object.assign polyfill in its own file
2019-03-17 00:52:21 +01:00
dzello
485401ddca
Add a param to specify additional Reveal.js plugins to be loaded
2019-03-16 23:59:21 +01:00
Josh Dzielak
45bc91896d
Add Object.assign polyfill for IE11
2019-02-27 01:02:48 +01:00
Josh Dzielak
c0b6afd06b
Add classList Reveal.js plugin (<=IE11 needs it)
2019-02-23 11:29:55 +01:00
Josh Dzielak
1c923b83b3
Fix unclosed tag in javascript partial
2019-02-12 16:24:20 +01:00
dzello
dfda8c0cd4
Support custom_theme_options param to customize asset compilation
2019-02-06 14:10:39 +01:00
dzello
b85d5102b9
Create partials from layout sections for easier overriding
2019-02-02 16:56:14 +00:00
dzello
74a2867259
Support using Hugo pipes to compile custom Reveal.js theme
2019-02-02 16:15:16 +00:00
dzello
13e04f3b6b
Better offline support including file:/// url editing; addresses #17
2019-01-26 18:11:20 +01:00
dzello
cc282afdb7
Improve handling of templates, fix issue with Hugo 0.5.0
...
Removes wrapping the template maps in an extra slice
2018-11-08 23:53:40 +00:00
dzello
9b47e50246
Add an end option for inserting HTML before end of .reveal
2018-10-09 02:25:07 +02:00
dzello
3d05cf68f0
Include a Reveal.js distribution in static and make it default
...
CDN can still be used via a configuration parameter. This way, development and presentation can be done locally with no network dependency.
2018-08-13 18:44:29 +02:00
dzello
b7e475d819
Bump Reveal.js version to 3.7.0
2018-08-13 18:21:46 +02:00
dzello
216135e004
Presentations can add their own HTML to the layout
...
This will be the recommended way to add custom CSS and JS on a per-presentation basis. Global layout extensions remain the same.
2018-08-13 17:41:06 +02:00
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
f6a1568da1
Use $.Param and default function for cleaning config reading
2018-08-07 18:02:47 +02:00
dzello
51623a07af
Remove need for a data file in the theme
...
This removes an extra step in params lookup and works around a bug in Hugo introduced after 0.37 that causes theme data files not to be found in certain circumstances.
2018-08-07 17:43:24 +02:00
Simon Bruder
f70433763c
make cdn urls customizable
2018-08-07 13:18:19 +00:00
dzello
86820452f0
Refactor slides code to avoid duplication
2018-08-06 19:29:30 +01:00
dzello
6f7767a751
Make the slide shortcode easier to use
2018-08-03 15:07:12 +01:00
dzello
aa464f40ac
Add comments to explain use of head and body partials
2018-08-03 12:04:46 +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
ee2a2268cb
Footnote markup shouldn't be interpreted as new slides
...
Addresses #4
2018-07-13 00:21:48 +02:00
dzello
56be3a2a42
Avoid null Hugo defaults breaking JS initialization
2018-07-03 00:12:32 +02:00
dzello
5d9c1a94bb
Use page description if there is one
2018-05-15 19:05:35 -07:00
dzello
0e960c90e3
Add custom theme support and the dzello theme
2018-05-01 01:46:00 -07:00
dzello
7024169277
Store Reveal params in snakecase and convert
2018-05-01 00:26:56 -07:00
dzello
80f0c3ee33
Put slides partial into reveal-hugo dir
2018-04-30 23:19:04 -07: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