[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Link preview generation with new link preview property
From: |
Björn Bidar |
Subject: |
Re: Link preview generation with new link preview property |
Date: |
Fri, 20 Dec 2024 01:26:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Karthik Chikmagalur <karthikchikmagalur@gmail.com> writes:
>> 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
I'm also wondering how much could there be shared if the thing to be
displayed on the overlay isn't an image.
The org-image--align function talks about images but ultimately
doesn't do anything specific to image.
I think the alignment the only part which is generic.
- Re: Link preview generation with new link preview property, (continued)
- Re: Link preview generation with new link preview property, Ihor Radchenko, 2024/12/17
- Re: Link preview generation with new link preview property, Björn Bidar, 2024/12/19
- Re: Link preview generation with new link preview property, Karthik Chikmagalur, 2024/12/19
- Re: Link preview generation with new link preview property, Ihor Radchenko, 2024/12/21
- Re: Link preview generation with new link preview property, Björn Bidar, 2024/12/23
- Message not available
- Re: Link preview generation with new link preview property, Karthik Chikmagalur, 2024/12/26
- Re: Link preview generation with new link preview property, Björn Bidar, 2024/12/29
- Re: Link preview generation with new link preview property, Ihor Radchenko, 2024/12/30
- Re: Link preview generation with new link preview property, stardiviner, 2024/12/18
- Re: Link preview generation with new link preview property, Karthik Chikmagalur, 2024/12/18
- Re: Link preview generation with new link preview property,
Björn Bidar <=
- Re: Link preview generation with new link preview property, Ihor Radchenko, 2024/12/21