emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
To: stardiviner <numbchild@gmail.com>
Cc: "Ihor Radchenko" <yantar92@posteo.net>,
	"Björn Bidar" <bjorn.bidar@thaodan.de>,
	emacs-orgmode@gnu.org
Subject: Re: Link preview generation with new link preview property
Date: Tue, 17 Dec 2024 22:33:24 -0800	[thread overview]
Message-ID: <87o7198pqj.fsf@gmail.com> (raw)
In-Reply-To: <CAL1eYu+kOTBuDJYB-Q0jVtuB05gz9hZoWzcH2kDbaHTR3zhRCQ@mail.gmail.com>

> I don't think so, my package org-link-beautify ported to the new
> :preview mechanism. The file preview not always image. Could be text, or
> icon etc. So pass in image object is not a good idea. It will limit
> preview functionality extensibility.

The API will not be changed.  Org will provide a new
`org-link-preview-image' function that you can use to preview links
using image data.  You'll have to write the adapter to register this as
the :preview handler for a link type yourself.

Karthik


  reply	other threads:[~2024-12-18  6:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6755f138.0c0a0220.40388.51fbSMTPIN_ADDED_BROKEN@mx.google.com>
2024-12-13  5:49 ` Link preview generation with new link preview property Karthik Chikmagalur
2024-12-14  0:03   ` Björn Bidar
2024-12-14  7:04     ` Ihor Radchenko
2024-12-17  2:46       ` Björn Bidar
2024-12-17 17:39         ` Ihor Radchenko
2024-12-17  3:42       ` Karthik Chikmagalur
2024-12-17 17:40         ` Ihor Radchenko
2024-12-18  6:21         ` stardiviner
2024-12-18  6:33           ` Karthik Chikmagalur [this message]
2024-12-08 19:18 Björn Bidar

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=87o7198pqj.fsf@gmail.com \
    --to=karthikchikmagalur@gmail.com \
    --cc=bjorn.bidar@thaodan.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=numbchild@gmail.com \
    --cc=yantar92@posteo.net \
    /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).