akiyosi / goneovim

A GUI frontend for neovim.
MIT License
2.41k stars 63 forks source link

Feature request: Inline image rendering #505

Open Karthik-Dulam opened 1 year ago

Karthik-Dulam commented 1 year ago

Is it technologically viable to have inline rendered images? Similar to org-mode's latex preview which can render latex fragments inside the document. This would be especially useful for in-document LaTex previews.

akiyosi commented 1 year ago

Hi :) Thanks for this issue.

Is it technologically viable to have inline rendered images? Similar to org-mode's latex preview which can render latex fragments inside the document. This would be especially useful for in-document LaTex previews.

It is possible, because goneovim is a complete GUI application. There is one idea PR related to this. https://github.com/akiyosi/goneovim/pull/360

One major difficulty is that no standard mechanism or interface for handling images has been established in the current Neovim architecture. This means that if implemented in Goneovim, it would be a Goneovim-specific mechanism, which would not allow for sufficient ecosystem growth. I believe that image handling needs to be a common mechanism in the Neovim GUI, but we are still in the middle of the road regarding the study of this common mechanism.

Karthik-Dulam commented 1 year ago

Thank you for your response. I have started a discussion on the neovim repo. Would be helpful if you can clarify some technical details here: https://github.com/neovim/neovim/discussions/25913#discussioncomment-7486797