fedochet / asciidoc-revealjs-online-converter

Home Page:https://asciidoc-revealjs-converter.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asciidoc to reveal.js online converter

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.

Project usage and idea

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.

Project structure

./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.

Development

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.

About

https://asciidoc-revealjs-converter.herokuapp.com/


Languages

Language:TypeScript 80.8%Language:HTML 14.3%Language:JavaScript 4.3%Language:Shell 0.5%Language:Procfile 0.1%