Given the workarounds required for embedding SVG hyperlinks described in
I have decided to embed the SVG markup as an <svg> element entirely inline
within the HTML document, rather than referring to a separate .svg file
from an <object> tag.
To generate the SVG markup as a raw string, I used the following:
Lucid.Base.renderText $ renderDia SVG (SVGOptions (mkWidth 200) Nothing
as described here:
I am using diagrams-svg-126.96.36.199 and lucid-2.9.5, which are included in LTS
Haskell version 5.9:
However, this technique places extra header elements above the <svg>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
Is there a method either in the lucid package or diagrams-svg to suppress
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.