public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Placing SVG inline in HTML generated from Markdown
@ 2020-08-13 17:03 James Hoyland
       [not found] ` <e12cd704-7d33-4762-8728-d9c7adaff13do-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: James Hoyland @ 2020-08-13 17:03 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1274 bytes --]

Hello all,
New to pandoc and loving it. So I am using it to generate HTML snippets 
from markdown to copy and paste in a learning management system (Moodle). 
Now this works, I can produce nice HTML, I can use MathJax and get 
equations in there, I can also link images which get base64 encoded - all 
works great. I need to use the base64 encoding because it's a pain to link 
the images as separate files from within Moodle. However one thing I'd like 
to do - I make diagrams in Inkscape and link the SVG files into the the 
Markdown, Pandoc also base64 encodes the SVG - at first I thought it was 
rasterizing them but I can right click download them from the website and 
they are still SVG just embedded as a base64 encoded image tag. I would 
prefer if pandoc took the SVG and just inlined it in the resulting HTML as 
an SVG tag. Is this possible?

James

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e12cd704-7d33-4762-8728-d9c7adaff13do%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1611 bytes --]

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

end of thread, other threads:[~2020-08-16 18:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13 17:03 Placing SVG inline in HTML generated from Markdown James Hoyland
     [not found] ` <e12cd704-7d33-4762-8728-d9c7adaff13do-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-13 17:48   ` Albert Krewinkel
     [not found]     ` <87eeoa309r.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-08-13 18:35       ` James Hoyland
2020-08-13 17:59   ` Gwern Branwen
2020-08-16 17:48   ` John MacFarlane
     [not found]     ` <m2sgcmeb30.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-08-16 18:25       ` James Hoyland

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 NNTP newsgroup(s).