This tool allows to launch a site that renders asciidoc documents to reveal.js slides using asciidoctor-revealjs converter.
You can find a working example of this app on Heroku: https://asciidoc-revealjs-converter.herokuapp.com.
This project allows you to store your presentations in .adoc
format in some online storage (for example, on GitHub), and then render them to reveal.js presentations online on demand.
It also have a live-editor mode, which allows you to edit and preview your presentations online.
./index.ts
file is responsible for express backend. It can serve frontend files to the user, and also responsible for rendering .adoc
into .html
slides.
./client/
folder contains a frontend React application, which consists of home page and live editor mode.
In order to launch the application locally, you need:
-
Install frontend and backend projects' dependencies:
$ npm install $ cd client && npm install && cd ..
-
Compile and start backend application:
npm run tsc && npm start
If you update the code in
./index.ts
, you need to restart the server manually. -
In the other console, start frontend application:
cd client npm start
This should automatically take you to http://localhost:5000, where you should see a working application.
If you change
./client/
code, the application will update automatically.