emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice for new feature 'image block` for new `sketch-mode` package


From: Ihor Radchenko
Subject: Re: Advice for new feature 'image block` for new `sketch-mode` package
Date: Sat, 02 Oct 2021 17:48:18 +0800

dalanicolai <dalanicolai@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]