From a281eb4ed2fb49152b811eaab716dc1b39e8eaff Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Mon, 1 Apr 2019 09:24:50 +0200 Subject: [PATCH] resolves #253 register for reveal.js --- Rakefile | 2 +- npm/examples.js | 2 +- test/smoke.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 29ca2f30..6aed4ab8 100644 --- a/Rakefile +++ b/Rakefile @@ -71,7 +71,7 @@ def build_converter(mode = :pretty) Asciidoctor::TemplatesCompiler::RevealjsSlim.compile_converter( templates_dir: TEMPLATES_DIR, class_name: 'Asciidoctor::Revealjs::Converter', - register_for: ['revealjs'], + register_for: ['revealjs', 'reveal.js'], backend_info: { basebackend: 'html', outfilesuffix: '.html', diff --git a/npm/examples.js b/npm/examples.js index 49543d25..ce20d227 100644 --- a/npm/examples.js +++ b/npm/examples.js @@ -15,7 +15,7 @@ asciidoctorRevealjs.register() // Convert *a* document using the reveal.js converter var attributes = {'revealjsdir': 'reveal.js'}; -var options = {safe: 'safe', backend: 'revealjs', attributes: attributes, to_dir: examplesDir}; +var options = {safe: 'safe', backend: 'reveal.js', attributes: attributes, to_dir: examplesDir}; fs.readdir(examplesDir, (err, files) => { files.forEach(function (filename) { diff --git a/test/smoke.js b/test/smoke.js index a73a31a1..13e52a36 100644 --- a/test/smoke.js +++ b/test/smoke.js @@ -7,7 +7,7 @@ const expect = require('expect.js') // Register the reveal.js converter asciidoctorRevealjs.register() -const options = {safe: 'safe', backend: 'revealjs', 'header_footer': true} +const options = {safe: 'safe', backend: 'reveal.js', 'header_footer': true} const content = `= Title Slide == Slide One