emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Link preview generation with new link preview property


From: Karthik Chikmagalur
Subject: Re: Link preview generation with new link preview property
Date: Tue, 17 Dec 2024 22:33:24 -0800

> 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 via email to

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