asciidoctor/asciidoctor-extensions-lab

Cross compile gist-block-macro

Opened this issue · 2 comments

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).

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

Related to #41.