dalanicolai <dalanico...@gmail.com> writes: > As svg is just xml, for small sketches I would prefer to insert directly > the xml > into the org-buffer within an image block, in which I can quickly toggle > showing > the image using `C-c C-c` (or `org-toggle-inline-images`). Also, exporting > such > xml should work perfectly fine when exporting to e.g. html.
> I guess a normal source block is not suitable, because I would like to > create > the image overlay directly within the block. I am happy to (help) > implement(ing) > such a feature, but I thought it would be wise to first discuss and > 'enquire' > for suggestions here. You can try to define a special block and add appropriate org-ctrl-c-ctrl-c-hook to display the overlay. For defining special blocks, you can try https://github.com/alhassy/org-special-block-extras/ Hope it helps. Best, Ihor