Skip to content

Front matter reference

Front matter lets a presentation override its revealjs.* settings without changing the global VS Code configuration. This complete list is generated from package.json and the runtime configuration contract during the docs build.

SettingDefaultTypeAllowed values
controlsTutorialtruebooleantrue, false
controlsLayoutbottom-rightstringbottom-right, edge
controlsBackArrowsfadedstringfaded, hidden, visible
themeblackstringbeige, black, blood, cern, hull-blue, league, material, moon, myplanet, night, object-partners, pikestreet, puzzle, robot-lung-ebi, robot-lung, savasian, serif, sfeir-school, simple, sky, solarized, sunblind, tidy, white
highlightThememonokaistringa11y-dark, a11y-light, agate, an-old-hope, androidstudio, arduino-light, arta, ascetic, atom-one-dark-reasonable, atom-one-dark, atom-one-light, brown-paper, brown-papersq.png, codepen-embed, color-brewer, dark, devibeans, docco, far, foundation, github-dark-dimmed, github-dark, github, gml, googlecode, gradient-dark, gradient-light, grayscale, hybrid, idea, ir-black, isbl-editor-dark, isbl-editor-light, kimbie-dark, kimbie-light, lightfair, lioshi, magula, mono-blue, monokai-sublime, monokai, night-owl, nnfx-dark, nnfx-light, nord, obsidian, paraiso-dark, paraiso-light, pojoaque.jpg, pojoaque, purebasic, qtcreator-dark, qtcreator-light, rainbow, real-black, routeros, school-book, shades-of-purple, srcery, stackoverflow-dark, stackoverflow-light, sunburst, tomorrow-night-blue, tomorrow-night-bright, vs, vs2015, xcode, xt256
diagramServerEnabledtruebooleantrue, false
diagramServerUrlhttps://kroki.iostringAny string
offlinefalsebooleantrue, false
controlstruebooleantrue, false
progresstruebooleantrue, false
slideNumberfalseboolean, stringtrue, false; Any string
historytruebooleantrue, false
keyboardtrueboolean, objecttrue, false; Object matching the setting schema
overviewtruebooleantrue, false
centertruebooleantrue, false
touchtruebooleantrue, false
loopfalsebooleantrue, false
rtlfalsebooleantrue, false
shufflefalsebooleantrue, false
fragmentstruebooleantrue, false
incrementalfalsebooleantrue, false
embeddedfalsebooleantrue, false
helptruebooleantrue, false
showNotesfalsebooleantrue, false
autoSlide0numberAny number
autoSlideMethodReveal.navigateNextstringAny string
autoSlideStoppabletruebooleantrue, false
mouseWheelfalsebooleantrue, false
hideAddressBartruebooleantrue, false
previewLinksfalsebooleantrue, false
transitionslidestringnone, fade, slide, convex, concave, zoom
transitionSpeeddefaultstringdefault, fast, slow
backgroundTransitionfadestringnone, fade, slide, convex, concave, zoom
pdfMaxPagesPerSlidenullnumber, nullAny number; null
pdfSeparateFragmentstruebooleantrue, false
pdfPageHeightOffset-1numberAny number
viewDistance3numberAny number
width960numberAny number
height700numberAny number
margin0.04numberAny number
minScale0.2numberAny number
maxScale2numberAny number
disableLayoutfalsebooleantrue, false
parallaxBackgroundImage``stringAny string
parallaxBackgroundSize``stringAny string
parallaxBackgroundHorizontal0numberAny number
parallaxBackgroundVertical0numberAny number
slideExplorerEnabledtruebooleantrue, false
browserPathnullstringAny string
exportHTMLPath./exportstringAny string
openFilemanagerAfterHTMLExporttruebooleantrue, false
selfContainedfalsebooleantrue, false
enableMenutruebooleantrue, false
enableChalkboardtruebooleantrue, false
enableZoomtruebooleantrue, false
enableSearchtruebooleantrue, false
titleReveal JS presentationstringAny string
htmlFragmentnullstring, nullAny string; null
css[]arrayArray value
cssvariablesnullobject, nullObject matching the setting schema; null
author``stringAny string
autoPlayMediafalsebooleantrue, false
customHighlightThemenullstring, nullAny string; null
customThemenullstring, nullAny string; null
defaultTiming120numberAny number
description``stringAny string
displayblockstringblock
enableTitleFootertruebooleantrue, false
fragmentInURLfalsebooleantrue, false
logLevel3number0, 1, 2, 3, 4
logoImgnullstring, nullAny string; null
notesSeparatornote:stringAny string
separator^\r?\n---\r?\n$stringAny string
verticalSeparator^\r?\n--\r?\n$stringAny string

MIT Licensed