blob: d3a6e03b1a4f5f744af68da8e43a21794fdf6198 [file] [log] [blame]
// Load Asciidoctor.js and the reveal.js converter
var asciidoctor = require('@asciidoctor/core')()
var asciidoctorRevealjs = require('@asciidoctor/reveal.js')
asciidoctorRevealjs.register()
// Convert the document using the reveal.js converter
var options = { safe: 'safe', backend: 'revealjs' }
asciidoctor.convertFile('src/main/asciidoc/index_en.adoc', options)