Add support for building self-contained presentations and for passing extra variables to pandoc #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When
selfContained
is false (default), the reveal.js files are now absolute and the reveal.js symlink is removed. This allows the HTML files to reside in any sub-folder without having to maintain relative dependencies.When
selfContained
is true, the resulting HTML file will have all assets inlined, that includes all reveal.js files as well as any embedded images in the markdown presentation.Extra variables can be passed in the
extraPandocVariables
set. For example, to use a different theme, passextraPandocVariables = { theme = "sky"; };
. Note that when using a reveal.js theme that is not the default theme and hasselfContained
enabled, Pandoc requires network access and this will not work with the sandbox enabled. You must disable the sandbox withnix-build --option build-use-sandbox false
.