asciidoctor / asciidoctor-mathematical

An extension for Asciidoctor that converts the content of STEM blocks and inline macros using Mathematical.
MIT License
49 stars 44 forks source link

Add option to inline equations as SVG. #33

Closed lschmelzeisen closed 6 years ago

lschmelzeisen commented 6 years ago

Instead of writing them to file and creating an image block.

This is only useful when outputting to HTML, but makes a big difference there because one no longer needs to fetch one image per equation from some webserver.

Browser adoption for inline SVGs is at 96.69%, support goes as far back as IE9.

tstumm commented 6 years ago

I actually never thought about this, since this extension was originally developed to utilize TeX-equations i PDFs. Thank you for your PR though :)

ProgramFan commented 6 years ago

Good idea!