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.
I needed this extension for a project of mine. Additionally, I saw in this discussion and this issue that I am not the only one, so I thought it would be a nice contribution :)
PS: I only learned Ruby to write this extension, so please be nice.
Sample:
== Test the List of Figures Macro
.The wonderful linux logo
image::https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg[Linux Logo,100,100]
.Another wikipedia SVG image
image::https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/SVG_Logo.svg/400px-SVG_Logo.svg.png[SVG,100,100]
=== List of figures
tof::[]
I needed this extension for a project of mine. Additionally, I saw in this discussion and this issue that I am not the only one, so I thought it would be a nice contribution :)
PS: I only learned Ruby to write this extension, so please be nice.
Sample:
Rendered: