Login  Register

asciidoctor.js - A JavaScript port of Asciidoctor using Opal (and some labor of love)

Posted by mojavelinux on May 21, 2013; 7:42am
URL: https://discuss.asciidoctor.org/asciidoctor-js-A-JavaScript-port-of-Asciidoctor-using-Opal-and-some-labor-of-love-tp212.html

I combined Asciidoctor and Opal to bring AsciiDoc rendering to the browser!

Concept proved!

asciidoctor.js uses the Opal Ruby-to-JavaScript cross compiler to generate a direct JavaScript port of Asciidoctor, an implementation of AsciiDoc. Read all about it here:


As part of working on this port, I've become a major contributor to the Opal project :) This brings with it a lot of possibilities for other Ruby libraries we might need in JavaScript. It also opens to door to run Asciidoctor on the JVM yet another way (via dynjs or Nashorn).

Let the innovation continue!

-Dan

--
Dan Allen | http://google.com/profiles/dan.j.allen