emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: dalanicolai <dalanicolai@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Advice for new feature 'image block` for new `sketch-mode` package
Date: Mon, 20 Sep 2021 20:19:06 +0200	[thread overview]
Message-ID: <CACJP=3=yVFrL02gqwtkdXMN5zd=oVaMXr8mXc9x3vjK8T+_Uzg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

Hello,

I am developing a new package for quickly sketching svg images, (see, and
try
out, sketch-mode at https://elpa.gnu.org/devel/). With the package, I can
already quickly create a sketch and subsequently quickly save it and insert
a
link in some org-mode buffer (using the `b` transient suffix). Also I can
quickly insert some image (using the `I` suffix), but then unfortunately the
image will not get saved.

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.

Thanks you!

[-- Attachment #2: Type: text/html, Size: 1124 bytes --]

             reply	other threads:[~2021-09-20 18:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-20 18:19 dalanicolai [this message]
2021-09-20 18:24 ` Advice for new feature 'image block` for new `sketch-mode` package dalanicolai
2021-10-02  9:48 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACJP=3=yVFrL02gqwtkdXMN5zd=oVaMXr8mXc9x3vjK8T+_Uzg@mail.gmail.com' \
    --to=dalanicolai@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).