emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Transclusion of SVG files in org-export?
@ 2022-03-04 14:53 Zoe Piel
  2022-10-29  5:43 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Zoe Piel @ 2022-03-04 14:53 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

I use interactive SVG elements in my org notes and wish to have these elements embedded in the HTML export. There has been previous discussion about how SVG elements should be handled in ox-html. For my needs, neither <object> nor <img> is desirable, because while they show the graphical component of SVG, they break other SVG functionality like hyperlinks.

Until recently, a function I found on Stack Overflow (https://emacs.stackexchange.com/questions/29871/how-to-embed-svg-output-of-org-mode-src-block-as-inline-svg-in-html-export) was working well to transclude the full SVG source into the HTML when exporting (e.g. this page: http://magicscience.info/20210821080707-how_to_embed_handwritten_content_in_your_org_roam_site.html) 

However, when I went to rebuild the site recently, the resulting HTML no longer includes the SVG source inline. Instead, there is a line of text with an href to the file. 

Were changes made to org export recently that would have broken the SVG embedding function I was using?

[-- Attachment #2: Type: text/html, Size: 1527 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-29  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-04 14:53 Transclusion of SVG files in org-export? Zoe Piel
2022-10-29  5:43 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).