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
Document how to create a new converter (or extend an existing one) #4136
Comments
For reference, both AsciidoctorJ and Asciidoctor.js have a page on how to make a custom converter for their respective platforms. |
This page should list all the contexts (both block and inline) that the base converter maps to a handler method and the name of the method. It should then explain that you can override the |
Backport this change to 2.0.x. |
Although covered in the API docs, the formal documentation does not explain how to create a new converter or extend an existing one (including built-in converters).
We could consider putting this new page under Extensions. Though it might be better to add the page under a new category named Converters, and moving the Available Converters page under it too.
Here's the existing information on the topic: https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/converter.rb#L4-L43
The text was updated successfully, but these errors were encountered: