-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding image support #971
Comments
Hey! This parser bug will probably stay for a week or two more because there are so many priorities clashing in the project (plus I'm away on holiday right now :p), so I think it's best if you focus on other integrations and I'll let you know when this is fixed. Thanks for considering adding neorg support in the first place! Btw, a while back I made a fork of hologram attempting to add more features. The most notable is its support for essentially every image format, thanks to the use of the |
Wow, this is great, thank you so much! |
@vhyrro Just wanna say thanks again, added magick as well and it's great (although I had to monkey patch the rock). |
Super glad to hear! |
Done, thank you so much for all your contributions! norg.mp4 |
Sick!! Good stuff :D |
this feature seems awesome, and how is the things going ? can we display the image from a url in norg file in nvim ? |
Any updates for showing url image? |
Did a change now to consider whatever is on the same line after image-neorg-remote.mp4 |
The temporary fix is a godsend. Thanks a lot!! I'll let you know when the issue is actually fixed, lots of things to do in Neorg so I haven't had time to implement the V3 parser yet :) |
image-nvim.mp4This is so effing cool! 🙂 |
cool, so is the latest version support it very well in default (without any configuration)? |
Issues
Feature description
Hey, I'm working on a hacky way to add (some) image support to Neovim, and I'm trying to write integration for Neorg. Looking at the spec and #14, I assume a simple query for a macro matching
.image https://url
would be enough, but I've hit the following problem.URLs seem to be broken apart when inside a
(tag_parameters (param))
and there's also an error in the tree:What works:
.image test.png
What doesn't work:
.image https://example.com/test.png
.image /tmp/test.png
.image ./test.png
Thank you!
Help
Yes
Implementation help
I need help with figuring out how to retrieve the images and their target position from a Norg document.
The text was updated successfully, but these errors were encountered: