asciidocfx / asciidoctor.js-reveal-demo

This is a shared repository for work of asciidoctor.js reveal.js and deck.js backends.
MIT License
1 stars 1 forks source link

Create a bower package #1

Closed ggrossetie closed 5 years ago

ggrossetie commented 9 years ago

This is great! I want to integrate your work into the Chrome Extension but I think that would be better to create a (bower) package to ease integration into other projects.

Also I have some questions about how does this work:

Thanks

rahmanusta commented 9 years ago

Hello @Mogztter ;

Also I have some questions about how does this work:

Yes, I used jade.js linked above, I didnt precompiled templates for developing stage, we can precompile the templates as you know.

I updated the repo https://github.com/asciidocfx/asciidoctor, we can look at https://github.com/asciidocfx/asciidoctor/commit/ff014b82c0ab1772d5ef6c2cd86d2a5dfb59ca14 and https://github.com/asciidocfx/asciidoctor/commit/95d9fb3861543ba250115fbb702a0a0b6de89d68

You can see the latest templates here https://github.com/asciidocfx/asciidoctorjs-slide-templates.git and dist folder here https://github.com/asciidocfx/asciidoctor.js

How can we go next step ? @Mogztter @mojavelinux

mojavelinux commented 9 years ago

The next steps are as follows:

  1. Get the template converter merged into the asciidoctor.js repository (of course compiled using Opal).
  2. Get the jade templates merged into the upstream repository (asciidoctor-deck.js and asciidoctor-reveal.js)
  3. Create a Bower or npm package for the jade templates so they can be retrieved using a package manager (I'm also open to continuing to use a submodule if that's easier to start)

We want to make sure we do these steps so we aren't copying files between repositories ad hoc.

cmoulliard commented 8 years ago

What is the status of this issue created one year ago ?

obilodeau commented 7 years ago

We are definitely getting there with all the work that went into Asciidoctor.js / Jade / Node support in asciidoctor-reveal.js.

Thanks to @Mogztter, @cmoulliard and @mojavelinux!

ggrossetie commented 5 years ago

It's now pretty straight forward to use the reveal.js converter in a JavaScript environment, see https://github.com/asciidoctor/asciidoctor-reveal.js#node-javascript-setup