Skip to content

switch to custom-link solution#18

Open
hermanhel wants to merge 4 commits into
lepisma:masterfrom
hermanhel:master
Open

switch to custom-link solution#18
hermanhel wants to merge 4 commits into
lepisma:masterfrom
hermanhel:master

Conversation

@hermanhel

Copy link
Copy Markdown

used :image-data-fun attribute of org-link-set-parameters.

This way krita links images are displayed as custom link, and can intergrate with org-mode's inline image display.

hermanhel added 4 commits June 3, 2024 21:52
use image-data-fun
add :image-data-fun, comment out the hide and display functions as they are no longer needed
@lepisma

lepisma commented Aug 30, 2024

Copy link
Copy Markdown
Owner

Hi, thanks for this. And sorry for the late response.

I like the custom link solution but I am not able to make this work in my set up. Also wasn't able to find any documentation of :image-data-fun anywhere, though I found few packages using this.

Upon further exploration, seems like you might be relying on https://github.com/TobiasZawada/org-yt/blob/56166f48e04d83668f70ed84706b7a4d8b1e5438/org-yt.el#L307 which adds a custom function org-display-user-inline-images. Can you confirm this by running your fork on raw Emacs without, say, org-yt loaded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants