An Asciidoctor-powered presentation that shows you how to write an InfoQ Mini-Book with Asciidoctor.
If you’d like to create a similar presentation, clone Bespoke.js Emulating Shower.
Ensure you have the following installed on your machine:
Then, install the required dependencies:
$ bundle && npm install
Now you’re all set to build the presentation!
You can build a static version of the slides using the following command:
$ gulp
The files are built into the dist directory. You can then view the slides by navigating to dist/index.html in your browser.
The preview server will monitor files for changes and automatically update the presentation. You can launch the preview server using:
$ gulp serve
Once the server is running, you can view the slides by navigating to http://localhost:8000 in your browser.
You can publish to GitHub pages by running the following command:
$ gulp deploy
A few tips from Dan Allen:
-
If you don’t want it the presentation to start in overview, drop the
autostart: true
option from theoverview()
plugin call insrc/scripts/main.js
. -
If you want builds to work each time you visit the slide, remove this function.
-
You can export the presentation to PDF using DeckTape.