nvim-orgmode / orgmode

Orgmode clone written in Lua for Neovim 0.9+.
https://nvim-orgmode.github.io/
MIT License
3k stars 131 forks source link

Best way to make graphics on vim org mode #520

Open alavaelian opened 1 year ago

alavaelian commented 1 year ago

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

No response

Feature value

i wanto create ilustrations for explaining programming concept in org mode for vim on demand

Additional context

No response

jgollenz commented 1 year ago

This is indeed part of orgmode: https://orgmode.org/manual/Images.html

But I suspect that it is building upon some functionality that Emacs comes with out-of-the-box. We've got to look into the different plugins that try to achieve image loading in nvim. Not on the imminent horizon, but I'd like to see this at one point :+1:

alavaelian commented 1 year ago

thanks so much my dude

vhyrro commented 1 year ago

Hey! Just a sort of informational message that I'm part-time working on improving hologram.nvim by having it support more formats and adding support for more terminals in a temporary fork. It's definitely the most promising plugin for rendering stuff like images in a terminal so far, and imo would be a great fit for orgmode once everything's merged upstream. The dev has been inactive so if we all focus on improving hologram then we really could get consistent image viewing in Neovim :)

I encourage anyone with some experience to help out, as once it's done everybody benefits (markdown, org, norg, rst users). Saw you guys being unsure about what image rendering plugin to use so I thought I might chime in here, hope you don't mind.

kristijanhusak commented 1 year ago

Hey @vhyrro , thanks for chiming in! We'll give it a try and see if we can help somehow.

MatthiasEckhart commented 11 months ago

@vhyrro, @kristijanhusak Supporting images in nvim-orgmode would be a highly desired feature. Any updates on the roadmap? Please let me know if I can help somehow.

ryflamm commented 1 week ago

Image.nvim is also very promising. It already supports integration with neorg. I've played with it a bit and it's pretty cool. I just prefer orgmode over neorg. Just waiting for someone more familiar with treesitter to add/contribute orgmode integration to image.nvim . I did see that the author/owner of image.nvim said that the neorg integration could be used as a good starting point.

Of note is that it (and I believe the previously mentioned hologram.nvim) are using the kitty graphics protocol. As such neovim has to be run from a terminal that supports kitty (like tmux & kitty terminals).