aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.revealjs
AgeCommit message (Collapse)AuthorFilesLines
2021-11-08Add disableLayout variable in revealjs templateChristophe Dervieux1-1/+1
This allows to modify it using Pandoc variable. Default value is correctly set to false by Pandoc.
2021-10-21Fix line numbers in source code with reveal.jsJohn MacFarlane1-0/+3
We need "overflow: visible" for these to work, and reveal's default css disables this. So this modifies the default template to add this. Closes #7634. Thanks to @cderv for diagnosing the issue.
2021-06-21reveal.js writer: better handling of options.John MacFarlane1-128/+70
Previously it was impossible to specify false values for options that default to true; setting the option to false just caused the portion of the template setting the option to be omitted. Now we prepopulate all the variables with their default values, including them unconditionally and allowing them to be overridden.
2021-05-20reveal.js template: use `hash: true` by default rather than...John MacFarlane1-4/+4
`history: true`. Closes #6968. Setting `hash: true` is enough to get linkability to a particular page of the slide show.
2021-05-15HTML-based slide shows: add support for institute (#7289)Thomas Hodgson1-0/+3
Add institute variable (string or list) to HTML-based slide formats.
2021-04-29Support toc-title in revealjs (#7171)Florian Kohrt1-0/+5
* Support toc-title in revealjs * Add semantic HTML "nav" tag Closes #7170. As with default.html5
2021-03-16Remove JS comment from HTML (#7154)Florian Kohrt1-1/+1
Illegal, turn into HTML comment
2021-02-20revealjs writer: add 'center' option for vertical slide centering.maurerle1-0/+4
Closes #7104.
2020-11-19reveal.js template fixes.John MacFarlane1-8/+16
Put quotes around `controlsLayout`, `controlsBackArrows`, and `display`, since these require strings. Add `showSlideNumber`, `hashOneBasedIndex`, `pause`.
2020-05-21update template for reveal.js 4.0.0 (#6390)Salim B1-28/+21
cf. - https://github.com/hakimel/reveal.js/releases/tag/4.0.0 - https://revealjs.com/upgrading/ see also https://github.com/jgm/pandoc-templates/pull/13
2020-05-07Update revealjs template with newly available options (#6347)Jake Zimmerman1-0/+86
I wanted to use an option and realized that the default pandoc template didn't pass it through, so I went through and found all the options that Reveal.js advertises but that Pandoc's template doesn't support. <https://github.com/hakimel/reveal.js#configuration> I also noticed that rollingLinks isn't a setting anymore, but it's fine to keep it in the template because people might be using an old version of Reveal.js (via `revealjs-url`) that still has this option.
2019-12-11Add title-slide-attributes variable to reveal.js template. (#5981)Frederik Elwert1-1/+1
2019-09-05Add partial styles.html in HTML5 template.John MacFarlane1-12/+1
Avoid duplication in HTML templates by using styles.html partial. Change indentation of styles in template.
2019-07-23revealjs template: add navigationMode (#5657)Mauro Bieg1-0/+4
2019-05-01Remove reference to head.min.js (#5448)Winnie Hellmann1-1/+0
This file has been removed in 3.8.0: https://github.com/hakimel/reveal.js/commit/29b0e86089eb3ec0d4bb5811c9b723dfcf36703c Add a note in the changelog that users will need to update reveal.js to at least 3.8.0 for their presentations generated with this version of pandoc to work correctly.
2019-04-07update: default.revealjs follow revealjs 3.8.0 (#5435)ebiiim1-0/+1
2019-01-08Add zoomKey config to default.revealjs.John MacFarlane1-0/+4
Closes #4249. Thanks to @reagle.
2018-12-14Remove unnecessary type="text/css" on style and link for HTML5.John MacFarlane1-2/+2
Closes #5146.
2018-10-22revealjs: typo in the socket.io javascript plugin (#5006)Yoan Blanc1-1/+1
2018-07-18Add missing rollingLinks option to revealjs template (#4778)Igor Khorlo1-0/+4
Fix (add) the missing option 'rollingLinks' in reveal.js template.
2018-06-12reveal.js writer and template: reuse mathjax URL...John MacFarlane1-1/+1
...provided by the argument to `--mathjax` or the normal pandoc default, rather than a hard-coded one in the template. Closes #4701.
2018-04-26Adding background-image variable to reveal.js template (#4600)John Muccigrosso1-0/+5
2017-12-26HTML writer: Use br elements in line blocks...John MacFarlane1-1/+0
instead of relying on CSS. Closes #4162. HTML-based templates have had the custom CSS for div.line-block removed. Those maintaining custom templates will want to remove this too. We still enclose line blocks in a div with class line-block.
2017-12-04reveal.js template: add title-slide identifier to title slide.John MacFarlane1-1/+1
This allows it to be styled more easily. Closes #4120.
2017-12-03Include default CSS for 'underline' class in HTML-based templates.John MacFarlane1-0/+1
2017-12-01revealjs template: added a necessary escape.John MacFarlane1-1/+1
2017-12-01reveal.js template: include tex2jax configuration.John MacFarlane1-0/+12
This ensures that we don't use $..$ delimiters, which gives bad results when $ is used as a currency sign. This depends on the current dev version of reveal.js.
2017-11-02Improved support for columns in HTML.John MacFarlane1-3/+3
* Move as much as possible to the CSS in the template. * Ensure that all the HTML-based templates (including epub) contain the CSS for columns. * Columns default to 50% width unless they are given a width attribute. Closes #4028.
2017-08-14Implement multicolumn support for slide formats.John MacFarlane1-0/+1
The structure expected is: <div class="columns"> <div class="column" width="40%"> contents... </div> <div class="column" width="60%"> contents... </div> </div> Support has been added for beamer and all HTML slide formats. Closes #1710. Note: later we could add a more elegant way to create this structure in Markdown than to use raw HTML div elements. This would come for free with a "native div syntax" (#168). Or we could devise something specific to slides
2017-06-26Use `table-of-contents` for contents of toc, make `toc` a boolean.John MacFarlane1-1/+1
Changed markdown, rtf, and HTML-based templates accordingly. This allows you to set `toc: true` in the metadata; this previously produced strange results in some output formats. Closes #2872. For backwards compatibility, `toc` is still set to the toc contents. But it is recommended that you update templates to use `table-of-contents` for the toc contents and `toc` for a boolean flag.
2017-06-18Use revealjs's math plugin for mathjax.John MacFarlane1-2/+11
This is a thin wrapper around mathjax that makes math look better on revealjs. See https://github.com/hakimel/reveal.js/#mathjax We do this by setting the 'mathjax' boolean variable and using it in the revealjs template. Also, for revealjs and mathjax, we don't assign the usual thing to the 'math' variable, since it's handled by mathjax config. Closes #3743.
2017-04-25HTML line block: Use class instead of style attribute.John MacFarlane1-0/+1
We now issue `<div class="line-block">` and include a default definition for `line-block` in the default templates, instead of hard-coding a `style` on the div. Closes #1623.
2017-03-04Regularized CSS in html/epub/html slide templates.John MacFarlane1-2/+5
All templates now include `code{white-space: pre-wrap}` and CSS for `q` if `--html-q-tags` is used. Previously some templates had `pre` and others `pre-wrap`; the `q` styles were only sometimes included. See #3485.
2017-03-04templates: CSS for .smallcaps, closes #1592 (#3485)Mauro Bieg1-1/+1
2017-02-20default.revealjs template: make 'history' default to true.John MacFarlane1-1/+3
2017-02-20Merge commit '9e52ac6bb02afd7b4ed5dad61021a1fa33051203' as 'data/templates'John MacFarlane1-0/+243