You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using (neorg.promo.promote.nested) on a block that contains a
.image macro, nothing happens.
Expected behavior
The block should be promoted recursively, regardless of the image
Steps to reproduce
Have some local image and use the following norg file:
* Heading
Some text
.image ./path/to/image.png
Then, highlighting over the heading, attempt to promote using a keybind to the above mapping.
Potentially conflicting plugins
For images, I'm using the neorg integration for 3rd/image.nvim
Other information
No response
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
I'm new to this project, and I like it a lot! And I'm willing to contribute to fix this bug, but I'd like to know where to start. I know where to find the code for promo, but I'm not quite sure how the .image macro is actually handled internally, so some code pointers would help!
The text was updated successfully, but these errors were encountered:
finbargiusti
added
the
bug
Issues related to bugs. Please attach a severity, a priority and category with this label.
label
Mar 5, 2025
As a note, maybe it would be best to merge that .image macro into the preexisting @image tag?
For example, one could add an optional parameter after @image that passes the path
to the local file.
Prerequisites
Neovim Version
NVIM v0.10.4 Build type: Release LuaJIT 2.1.1736781742
Neorg setup
Actual behavior
When using (neorg.promo.promote.nested) on a block that contains a
.image macro, nothing happens.
Expected behavior
The block should be promoted recursively, regardless of the image
Steps to reproduce
Have some local image and use the following norg file:
Then, highlighting over the heading, attempt to promote using a keybind to the above mapping.
Potentially conflicting plugins
For images, I'm using the neorg integration for 3rd/image.nvim
Other information
No response
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
I'm new to this project, and I like it a lot! And I'm willing to contribute to fix this bug, but I'd like to know where to start. I know where to find the code for promo, but I'm not quite sure how the .image macro is actually handled internally, so some code pointers would help!
The text was updated successfully, but these errors were encountered: