regebro / hovercraft

Make dynamic impressive presentations from text files!
https://hovercraft.readthedocs.org
MIT License
1.48k stars 209 forks source link

tooltips and links in SVG #218

Open nnako opened 3 years ago

nnako commented 3 years ago

Hi,

in my daily routine, I usually export vector graphics diagrams to SVG format. These SVG files generally hold information which is shown in any browser (when directly loaded as a file):

When I reference these SVG diagrams within the RST presentation text file, and properly generate the index file by using Hovercraft!, the SVG displays correctly (as any PNG would do), but it does neither provide the MouseOver nor the Hyperlink feature of SVG.

Would it be possible to activate these features for Hovercraft!'s presentations?

Thanks.

regebro commented 2 years ago

That very much depends on why it doesn't work, which is strange, since the resulting presentation is just HTML. Does these SVG features work of you make a small HTML file that includes the SVG?