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.
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).
The current
gist-block-macro
extension is not cross compiling well with Opal. I don't know the reason behind but when I replacedregistry.document
with@document
everything work as expected.Given that other extensions favor
@document
overregistry.document
I think it's a good idea to stick with@document
(shorter).