@asciidoctor/reveal.js
Advanced tools
Changelog
5.1.0 (2023-12-12)
asciidoctor-chart
by upgrading asciidoctor-templates-compiler
to 0.7.0Changelog
5.0.1 (2023-06-24)
marked
has been removed in reveal.js 4.0.0 and plugin markdown
has been disabled.
As a result, the revealjs_plugin_markdown
and revealjs_plugin_marked
attributes have no effect anymore.revealjs_plugins
and revealjs_plugins_configuration
are replaced by Docinfo files.Before
presentation.adoc
= Third-party Plugins
:revealjs_plugins: examples/revealjs-plugins.js
:revealjs_plugins_configuration: examples/revealjs-plugins-conf.js
// ...
revealjs-plugin.js
{ src: 'revealjs-plugins/reveal.js-menu/menu.js' },
{ src: 'revealjs-plugins/chalkboard/chalkboard.js' }
revealjs-plugin-conf.js
menu: {
side: 'right',
openButton: false
},
keyboard: {
67: function() { RevealChalkboard.toggleNotesCanvas() },
66: function() { RevealChalkboard.toggleChalkboard() }
},
After
presentation.adoc
= Third-party Plugins
:docinfo: private
// ...
presentation-docinfo-footer.html
<script src="revealjs-plugins/menu/menu.js"></script>
<link rel="stylesheet" href="revealjs-plugins/chalkboard/style.css">
<script src="revealjs-plugins/chalkboard/plugin.js"></script>
<script>
Reveal.configure({
menu: {
side: 'right',
openButton: false
},
keyboard: {
67: function() { RevealChalkboard.toggleNotesCanvas() },
66: function() { RevealChalkboard.toggleChalkboard() }
}
})
Reveal.registerPlugin(RevealMenu)
Reveal.registerPlugin(RevealChalkboard)
</script>
:revealjs_plugin_search: enabled
.path-parse
from 1.0.6 to 1.0.7 in /test/js-babelpath-parse
from 1.0.6 to 1.0.7glob-parent
from 5.1.0 to 5.1.2lodash
from 4.17.19 to 4.17.21 in /test/js-babely18n
from 4.0.0 to 4.0.1thread_safe
and concurrent-ruby
dependenciesrevealjsdir
can be a CDNChangelog
4.1.0 (2020-12-19)
background-video
attribute points to a file, that file is now looked up relative to the imagesdir
document attribute.
This new behavior aligns with what images and video macros already did.
Existing slide decks using both imagesdir
and background-video
will need to move some files around.
See #356 for details.step
attribute to control the display order of elements%step
option can now be used on most blocksrevealjs_disablelayout
attribute to disable layout (#381)set
.
For instance: icon:font-awesome-flag[set=fab]
(#393)font-awesome-version
(#392)data-
(#241)has-text-left
, has-text-right
and has-text-justified
.
See #354 for details.mathjaxdir
attribute to control where MathJax is loaded from (#350)text-left
, text-right
, text-center
and text-justify
(#380)autoslide
attribute is now supported at the slide level (
#367,
#368)muted
option for the video macro for YouTube and Vimeo (#358)background-video
paths are now resolved using media_uri
(#356)autoplay
option fixed for YouTube and Vimeo videos (#357)asciidoctor-doctest
to v2.0.0.beta.7git tag | full diff | milestone
Thanks to the following people who contributed to this release:
Adrian Kosmaczewski, Dan Allen, Guillaume Grossetie, Olivier Bilodeau and Romain Quinio.
Changelog
3.1.0 (2020-01-18)
Fixed a regression with Font-Awesome brand icons, added a JavaScript CLI and standalone executables for Windows, Linux and macOS.
npx asciidoctor-revealjs
(#308)git tag | full diff | milestone
Thanks to the following people who contributed to this release:
Guillaume Grossetie and Olivier Bilodeau
Changelog
3.0.0 (2020-01-07)
An API breaking release for Asciidoctor.js users that brings a bright future of long term stability. New Reveal.js features supported: background opacity, background positions, and PDF export. AsciiDoc table options now supported. A big FontAwesome update. Many other little improvements and polish.
Special heads-up: we are already planning for another major release since Reveal.js 3.8 support will be considered a breaking change. They changed how it is loaded and requires a template change incompatible with Reveal.js 3.1-3.7.
Node.js packaging changes! With the arrival of Asciidoctor.js 2.0.0 you can now use a command line interface (CLI) just like with Asciidoctor Ruby:
$(npm bin)/asciidoctor -r @asciidoctor/reveal.js -b revealjs presentation.adoc
If you want to keep generating your reveal.js presentations using the Node.js API, you need to change the following code. Instead of:
var asciidoctorRevealjs = require('asciidoctor-reveal.js');
asciidoctorRevealjs.register()
Use:
var asciidoctor = require('@asciidoctor/core')()
var asciidoctorRevealjs = require('@asciidoctor/reveal.js')
asciidoctorRevealjs.register()
Node.js package name changed from asciidoctor-reveal.js
to @asciidoctor/reveal.js
(
#252,
#291)
Custom CSS might require adjustments. Source and listing block encapsulation changed due to our migration to Asciidoctor 2.0.0 Syntax Highlighter API. See #287.
Upgraded to Font-Awesome 5.8.2 from 4.3.0 which contains some backward incompatible changes (#268)
Asciidoctor reveal.js now requires Asciidoctor 2.0.0+ or Asciidoctor.js 2.0.0+ (#290)
Dropped support for end-of-life Ruby version 2.1 and 2.2 (#247)
reveal.js
as converter/backend name in addition to revealjs
(#253, #297)git tag | full diff | milestone
Thanks to the following people who contributed to this release:
Benjamin Schmid, Daniel Mulholland, Eiji Onchi, Gérald Quintana, Guillaume Grossetie and Olivier Bilodeau