-t revealjsの場合はhtml writerにrevealjsテンプレートを食わせているだけのはず
ということで、ひとまずデフォルトのテンプレートから、使われている変数を目の子で引き抜いてきた。足りていないものがあるかもしれない。
Pandoc 2.14.0.3のものである。あたまにforがついているものは、複数の値が指定できるもので、テンプレート中でもforによってそれぞれの値にアクセスしている。
lang
dir
for author-meta
date-meta
for keywords
title-prefix
theme
for css
math
for header-includes
for include-before
title
for title-slide-attributes/pairs
subtitle
for author
for institute
date
toc
toc-title
mathjax
for include-after
以下のものはユーザが指定するのではなく、Pandocによって生えてくるものと思われる(詳細は未チェック)
table-of-contents
revealjs-url
また、以下のものはReveal.initialize
中で使用されている変数である。revealjsの挙動を制御するために使われているので、使用しているreveal.jsのバージョンと合わせて確認が必要である。
以下のものはtrueの場合に記述が入り、falseの場合には入らないため挙動に不思議な点があれば確認すること。
parallaxBackgroundImage
background-image
parallaxBackgroundSize
parallaxBackgroundHorizontal
parallaxBackgroundVertical
width
height
margin
minScale
maxScale
列挙するだけでこれだけある。正しく使いこなすのは難しそうであるし、あまり凝りすぎたスライドは見やすくならないため注意が必要そうである。
追記
reveal.jsのconfigのページにある、Initializeの記述のうち、Pandocのテンプレートに含まれないものは下記のようである。
revealjs.com
autoAnimate
autoAnimateMatcher
autoAnimateEasing
autoAnimateDuration
autoAnimateUnmatched
https://revealjs.com/auto-animate/#animation-settings
autoAnimateStyles: [
'opacity',
'color',
'background-color',
'padding',
'font-size',
'line-height',
'letter-spacing',
'border-width',
'border-color',
'border-radius',
'outline',
'outline-offset'
],
focusBodyOnPageVisibilityChange
一方、ifで記述をomitするような変数についてはこのページには記載がなかった。要調査。
再追記。
parallaxBack系の変数4つは下記のページに記載がある。
revealjs.com
size系はここにある。
revealjs.com
background-image
だけは見つからなかった。存在しないかもしれない。
→ parallaxBackgroundImage
に与えるようである。しかしこの場合はparallaxBackgroundImageを指定しても無視されるので、両方のうちすくなくとも1つがenableだったら~に変えた方が良さそうでは?
さらに追記
reveal.jsの方のテンプレートはこれを参照した方が良さそう。
github.com
background-imageは検索するとreveal.scssにあるようであるが、ちゃんと指定できるのかは不明…。
github.com