mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Adding background-image variable to reveal.js template (#4600)
This commit is contained in:
committed by
John MacFarlane
parent
1b5948b079
commit
91877692f3
@@ -197,6 +197,11 @@ $endif$
|
||||
$if(parallaxBackgroundImage)$
|
||||
// Parallax background image
|
||||
parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
|
||||
$else$
|
||||
$if(background-image)$
|
||||
// Parallax background image
|
||||
parallaxBackgroundImage: '$background-image$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
|
||||
$endif$
|
||||
$endif$
|
||||
$if(parallaxBackgroundSize)$
|
||||
// Parallax background size
|
||||
|
||||
Reference in New Issue
Block a user