This documentation covers a prerelease version of the software. Follow this link to view the documentation for the stable version (3.0) instead.

Compile Ruby Extensions to JavaScript

This page is no longer applicable. Asciidoctor.js is now a native JavaScript implementation and no longer uses Opal to compile Ruby code. Extensions must be written directly in JavaScript.

Please refer to the Register Extensions page to learn how to write extensions in JavaScript.