nvim-orgmode / nvim-orgmode/orgmode
How to you set an image's width?
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.9k
- Forks
- 190
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
Describe the bug
I've been looking through the source and trying to find a way to change an images size on a per embed basis, like is possible with orgmode https://orgmode.org/manual/Images.html
And on snacks side, I just see [[path]] as the test case. Is there no way to do this without tainting global image settings?
checkhealth
==============================================================================
orgmode: ✅
Orgmode ~
- ✅ OK Treesitter grammar installed (version 2.0.2)
- ✅ OK Setup called
- ✅ OK
org_agenda_filesconfigured - ✅ OK
org_default_notes_fileconfigured
Steps to reproduce
- Attempt to set an embed width for inline image on a per use case
- Cry
Expected behavior
Magical wonders of image width resizing via options
Emacs functionality
https://orgmode.org/manual/Images.html
#+ATTR_HTML
Minimal init.lua
-- Enter your minimal_init.lua here
Screenshots and recordings
No response
nvim-orgmode version
cf75da1
OS / Distro
Cachy
Neovim version/commit
v0.11.5
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the source for inline image embeds and the Snacks [[path]] test case mentioned in the issue. Compare the requested per-embed width behavior with the linked Orgmode #+ATTR_HTML documentation; done means an image width can be set for one embed without changing global image settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100