-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reusing extensions registry doesn't work in v3.0.2 #1709
Comments
@mojavelinux I vaguely remember a discussion about it but I don't recall what needs to be done? Does that ring a bell? |
Based on this comment, I reworked the plugin in which I'm using asciidoctor.js. Now I'm creating new registry for each call to Should we close this issue? May we should add a note in documentation. |
Thanks that's the comment I was looking for!
Yes, we should add a callout/admonition in: https://docs.asciidoctor.org/asciidoctor.js/latest/extend/extensions/register/ |
I think you're referring to asciidoctor/asciidoctor#4256. |
When I reuse an
registry
, in subsequent calls toconvert()
, the registered extensions don't work.See the sample code, which is based on an example from docs:
The same code works fine in v2.2.x.
Is this a bug, or am I doing something wrong?
I encountered this issue when I was trying to find a fix for saneef/eleventy-plugin-asciidoc#10.
The text was updated successfully, but these errors were encountered: