Inlined SVGs

Inlined SVGs are supported by a new HTML attribute introduced by ox-hugo: inlined.

Simply add #+attr_html: :inlined t above the SVG file link.

Here’s an example of inlining an SVG:

#+caption: An SVG with hyperlink
#+attr_html: :inlined t
[[file:../test/site/content-org/images/svg-with-hyperlinks.svg]]

.. which results in:

ox-hugo homepage

Figure 1: An SVG with hyperlink
Fork me on GitHub