asciidoctor / asciidoctor-extensions-lab

A lab for testing and demonstrating Asciidoctor extensions. Please do not use this code in production. If you want to use one of these extensions in your application, create a new project, import the code, and distribute it as a RubyGem. You can then request to make it a top-level project under the Asciidoctor organization.
Other
104 stars 101 forks source link

Cross compile gist-block-macro #37

Open ggrossetie opened 9 years ago

ggrossetie commented 9 years ago

The current gist-block-macro extension is not cross compiling well with Opal. I don't know the reason behind but when I replaced registry.document with @document everything work as expected.

Given that other extensions favor @document over registry.document I think it's a good idea to stick with @document (shorter).

mojavelinux commented 9 years ago

I don't remember why it was written differently either. Maybe just legacy and never got updated.

mojavelinux commented 8 years ago

Related to #41.