Replies: 1 comment
-
It seems pandoc assumes that all Ids in the SVG only reference elements within that SVG, and so prefixes the Ids with a hash to prevent any potential clashes with Ids in the document. You could avoid this by embedding the SVG yourself using a Lua filter. Let me know if you need help with this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose in the document
doc.md
I have:And the file
img.svg
contains:However, when running
pandoc --embed-resources doc.md
the HTML output is:The first
<a/>
is fine, but the second one redirects to#svg_37fa35013cae0cc3c538_my-section
instead of#my-section
.Beta Was this translation helpful? Give feedback.
All reactions