Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@asciidoctor/reveal.js

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asciidoctor/reveal.js - npm Package Versions

5.1.0

Diff

Changelog

Source

5.1.0 (2023-12-12)

Enhancements

  • Upgrade to reveal.js 4.5.0

Bug Fixes

  • Fix a compatibility issue between Opal and Asciidoctor.js 3.x by upgrading Opal to 1.7.3
  • Fix a compatibility issue with asciidoctor-chart by upgrading asciidoctor-templates-compiler to 0.7.0
ggrossetie
published 5.0.1 •

Changelog

Source

5.0.1 (2023-06-24)

Upgrade considerations

  • Plugin 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>
  • If you are using third party plugins (such as chalkboard), please upgrade to the latest version.

Bug Fixes

  • Include Rouge stylesheet when `:source-highlighter: rouge is present and when there's a least one source block.
  • Fix quotation marks and apostrophes
  • Fix subscripts erroneously mapped to superscripts

Enhancements

  • Upgrade to reveal.js 4.1.2 (#370)
  • Add support for the Auto-Animate feature (#439)
  • Add support for the built-in search plugin (#441)
    • You can enable this plugin using :revealjs_plugin_search: enabled.
  • Upgrade MathJax to version 3.2.0
  • Display all the authors (inclusing their email addresses)
  • Upgrade development dependencies
    • Bump path-parse from 1.0.6 to 1.0.7 in /test/js-babel
    • Bump path-parse from 1.0.6 to 1.0.7
    • Bump glob-parent from 5.1.0 to 5.1.2
    • Bump lodash from 4.17.19 to 4.17.21 in /test/js-babel
    • Bump y18n from 4.0.0 to 4.0.1
  • Drop thread_safe and concurrent-ruby dependencies
  • Add favicon to HTML if its attribute is present in AsciiDoc

Documentation

  • Add link to https://asciidoctor-revealjs-examples.netlify.app/ in the documentation
  • Mention in the documentation that revealjsdir can be a CDN
  • Add maintenance branch procedure
  • Add downstream projects update procedure
ggrossetie
published 5.0.0-rc.1 •

ggrossetie
published 4.1.0 •

Changelog

Source

4.1.0 (2020-12-19)

Upgrade considerations

  • When a 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.

Enhancements

  • Introduced a step attribute to control the display order of elements
  • %step option can now be used on most blocks
  • Added revealjs_disablelayout attribute to disable layout (#381)
  • Added support for Font Awesome icon sets using the set. For instance: icon:font-awesome-flag[set=fab] (#393)
  • Upgraded Font Awesome to 5.15.1
  • Introduced an attribute to configure Font Awesome version font-awesome-version (#392)
  • Added support for data attributes using AsciiDoc attributes prefixed by data- (#241)
  • Added text alignment options to our columns layout feature: has-text-left, has-text-right and has-text-justified. See #354 for details.
  • Added a mathjaxdir attribute to control where MathJax is loaded from (#350)
  • MathJax updated to version 2.7.6 ( #355, #361)
  • Added new examples: MathJax, MathJax-CDN ( #350, #359)
  • Documentation improvements ( #349, #351, #371, #374)

Compliance

  • Added support for footnotes (#30)
  • Added support for built-in text alignments: text-left, text-right, text-center and text-justify (#380)
  • autoslide attribute is now supported at the slide level ( #367, #368)
  • Implemented the muted option for the video macro for YouTube and Vimeo (#358)
  • background-video paths are now resolved using media_uri (#356)

Bug Fixes

  • Fixed a padding issue in columns layout (#372)
  • autoplay option fixed for YouTube and Vimeo videos (#357)
  • Removed image resizing behavior when columns are wrapped in columns layout feature ( #353, #360)

Infrastructure

  • Migrated CI jobs to GitHub Actions
  • Added Windows in CI build
  • Upgraded asciidoctor-doctest to v2.0.0.beta.7
  • Documentation migrated to Antora
  • Added an integration with Netlify to host specific slide deck examples ( #336, #346)

Release meta

git tag | full diff | milestone

Credits

Thanks to the following people who contributed to this release:

Adrian Kosmaczewski, Dan Allen, Guillaume Grossetie, Olivier Bilodeau and Romain Quinio.

ggrossetie
published 4.1.0-rc.5 •

obilodeau
published 4.0.1 •

Changelog

Source

4.0.1 (2020-02-18)

Repackage for NPM.

obilodeau
published 3.1.0 •

Changelog

Source

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.

Enhancements

  • We now provide native standalone executables for Windows, Linux and macOS using a Node to binary packager (#259, #308)
  • JavaScript stack now provides a CLI usable with npx asciidoctor-revealjs (#308)
  • Updated to Font-Awesome 5.12.0 (#305)
  • Ruby command line interface now shows Asciidoctor reveal.js version in addition to Asciidoctor version (#313)
  • Updated dependencies: rake
  • Better tests (#310, #311)

Bug Fixes

  • Added compatibility shim to Font Awesome 5 to fix brand icons rendering and more (#304, #305)

Release meta

  • Released on: 2020-01-18
  • Released by: Olivier Bilodeau
  • Release beer: Lupulus, Microbrasserie Charlevoix

git tag | full diff | milestone

Credits

Thanks to the following people who contributed to this release:

Guillaume Grossetie and Olivier Bilodeau

obilodeau
published 3.0.0 •

Changelog

Source

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.

Upgrade considerations

  • 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)

Compliance

  • Added support for table frame, grid, header and alignment options (#29, #42, #56, #288)
  • Source code callout style aligned with Asciidoctor's (#293, #300)
  • Added support for Reveal.js data-background-opacity (#269)
  • Added support for Reveal.js data-background-position (#273, #274)
  • Updated the process to include the generated converter in releases (#265, #302)

Enhancements

  • Support for Asciidoctor.js 2.0.0+ which brings a command line interface (#254)
  • Process updates, narrower install version range and compatibility matrix regarding Asciidoctor.js (#187, #303)
  • Migrated to Asciidoctor 2.0.0 new Syntax Highlighter API (#261, #287)
  • Added support for Reveal.js PDF export options (#277)
  • Upgraded to Font-Awesome 5.8.2 (#268)
  • We now accept reveal.js as converter/backend name in addition to revealjs (#253, #297)
  • Babel integration example API updated to use Asciidoctor reveal.js current API (#285, #298)
  • Node.js package clean-ups (#279, #281, #282)
  • Upgrade Opal to use a compatible version with Asciidoctor.js 2.0.3 (#289)
  • Documentation improvements (#292, #302)
  • Improvements to tests (#294)

Bug fixes

  • Babel integration example updated for security (#285)

Infrastructure

  • Updated Travis' JRuby to fix issues with bundler (#295)

Release meta

  • Released on: 2020-01-07
  • Released by: Olivier Bilodeau
  • Release beer: Porter Baltique Édition Spéciale 2019, Les Trois Mousquetaires

git tag | full diff | milestone

Credits

Thanks to the following people who contributed to this release:

Benjamin Schmid, Daniel Mulholland, Eiji Onchi, Gérald Quintana, Guillaume Grossetie and Olivier Bilodeau

obilodeau
published 3.0.0-rc1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc