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

[Feature Request] Add the ability to copy the generated svg #65

Open
Atreyu-94 opened this issue Oct 6, 2024 · 1 comment
Open

[Feature Request] Add the ability to copy the generated svg #65

Atreyu-94 opened this issue Oct 6, 2024 · 1 comment

Comments

@Atreyu-94
Copy link

It would be great to be able to copy the code of the SVG rendered in Obsidian, to paste it into other windows, would this be possible?
Perhaps by adding an option to the right-click drop-down menu, to copy the SVG block.

@kimhanm
Copy link

kimhanm commented Oct 25, 2024

You can copy the svg using the inspector tool

  1. Open the inspector (with ctrl+shift+i / option+cmd+i for mac)
  2. Select the svg block you want to copy using the element-select tool in the top-left corner of the inspector window.
  3. This should highlight an svg block, which you can copy/paste

Example:
image

The element-select tool is the curser in a dashed square located top-center of the image.

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

2 participants