Yes I'm using self contained. I'm doing this because I want to avoid links. The method for uploading and linking to images in Moodle is awkward to say the least so having a single block of HTML to copy and paste into the editor is a real time saver. James On Sun, Aug 16, 2020, 10:48 AM John MacFarlane wrote: > > When you say pandoc base64 encodes the SVGs -- are you using > the --self-contained option? Normally you'd just get a link > to an external image. > > James Hoyland writes: > > > 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 > . > -- 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/CAMcTw6Nys6Ed3%3Dd-iWUAjhuHM63VmOoX_pyoVN22%3DB3hZp_5mw%40mail.gmail.com.