asciidoctor / asciidoctor-backends

Backends (i.e., templates) for Asciidoctor, a Ruby port of AsciiDoc.
http://asciidoctor.org
Other
65 stars 73 forks source link

Support new SVG embedding options #122

Open astefanutti opened 8 years ago

astefanutti commented 8 years ago

Since Asciidoctor version 1.5.3 and asciidoctor/asciidoctor#1301, new options have been introduced to alter the way SVG get embedded into documents output by the HTML5 backend, either as img, object or inline svg.

These new options should be supported by all HTML based Asciidoctor backends.

Besides, these should be supported when using extensions that produce SVG as well, like the Asciidoctor Diagram extension and the PlantUML / Graphviz blocks.

mojavelinux commented 8 years ago

You can find the logic necessary in the new converter for Bespoke.js. See: