Skip to content

Commit

Permalink
resolves asciidoctor#253 register for reveal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Apr 1, 2019
1 parent d84a2fc commit a281eb4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion npm/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion test/smoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a281eb4

Please sign in to comment.