Inlined SVGs

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

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

Here’s an example of inlining an SVG:

#+begin_src plantuml :file ../test/site/content-org/images/svg-with-hyperlinks.svg :exports results
skinparam svgLinkTarget _parent
:[[ ox-hugo homepage]];
#+caption: An SVG with a *hyperlink*
#+attr_html: :inlined t

.. which results in:

ox-hugo homepage

Figure 1: An SVG with a hyperlink

Fork me on GitHub