Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add embed SVG directive #25

Open
gastmaier opened this issue Jan 8, 2025 · 1 comment
Open

Add embed SVG directive #25

gastmaier opened this issue Jan 8, 2025 · 1 comment

Comments

@gastmaier
Copy link
Contributor

gastmaier commented Jan 8, 2025

Instead of embedding SVG on the page using the image or figure directive, allow to embed the SVG source code on the page itself, allowing the vector and rest of the page (parent) in a single DOM sandbox.
This allows to create hyperlinks on the SVG linking to the page, among other interactions, such as hover effects.

they syntax shall be:

.. svg::

@gastmaier
Copy link
Contributor Author

Candidate at commit 484dfdd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant