artisticat1 / obsidian-tikzjax

Render LaTeX and TikZ diagrams in your notes
MIT License
454 stars 27 forks source link

Can I save the rendered image as an svg image? #21

Closed Huary007 closed 2 years ago

Huary007 commented 2 years ago

Is there a way to get the rendered .svg image? I want to insert the .svg images rendered by the plugin into the .md file so that my document has better compatibility. For example, I can more easily post on my blog or use the advanced slides plugin to create slides.

artisticat1 commented 2 years ago

Yes, you can press Ctrl+Shift+I to open the developer tools. Then use Inspect Element and hover over the svg image in order to obtain the <svg> content in the HTML.

Huary007 commented 2 years ago

Thx!

manuEbg commented 1 year ago

Note: on Mac you need ⌥ option + ⌘ command + I to toggle developer tools

mayurankv commented 1 year ago

Would it be feasible to add an export button to the tikz code blocks that would save the svg?