Configuration
SBT Configuration
You can alter theme and default slide transition in your build.sbt file.
lazy val demo = (project in file("demo"))
.enablePlugins(ParadoxSitePlugin)
.enablePlugins(ParadoxRevealPlugin)
.settings(
name := "paradox reveal presentation demo",
publish / skip := true,
Compile / paradoxRevealTheme ~= {
_.withTheme(ParadoxRevealTheme.ThemeBlack) // choose theme
.withDefaultTransition(
ParadoxRevealTheme.TransitionFade
) // choose transition
.withMathPlugin // add plugin if needed
.withControls(false)
},
// exclude includes folder
(Compile / paradoxMarkdownToHtml / excludeFilter) :=
(Compile / paradoxMarkdownToHtml / excludeFilter).value ||
ParadoxPlugin.InDirectoryFilter(
(Compile / paradox / sourceDirectory).value / "includes"
)
)
Options
True by default
Example without controls:
.withControls(false)
- withControls
- withProgress
- withCenter
- withHash
Empty by default
- withCustomStylesheet
- withCustomJavaScript
Themes
withTheme()
Example :
.withTheme(ThemeMoon)
Default ThemeBlack.
- ThemeBeige
- ThemeBlack
- ThemeBlood
- ThemeLeague
- ThemeMoon
- ThemeNight
- ThemeSerif
- ThemeSimple
- ThemeSkysk
- ThemeSolerized
- ThemeWhite
Default Transitions
withDefaultTransition()
Example :
.withDefaultTransition(TransitionConvex)
Default TransitionSlide.
- TransitionNone
- TransitionFade
- TransitionSlide
- TransitionConvex
- TransitionConcave
- TransitionZoom
Paradox Customization
Use Paradox patterns for additional options.
Reveal.js Customization
1.1.0