How to you set an image's width?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
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.
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
- Dominant language
- Lua
- Stars
- 3.9k
- Forks
- 192
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 11
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from nvim-orgmode/orgmode
-
Difficulty 1/5 Under an hour Newbie friendliness 73/100
nvim-orgmode/orgmode#1193 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
nvim-orgmode/orgmode#1175 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
nvim-orgmode/orgmode#1173 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 50/100
nvim-orgmode/orgmode#1172 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
nvim-orgmode/orgmode#1171 ·
Maintainers usually reply within 1 day
All issues in nvim-orgmode/orgmode
Similar issues
-
guide
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
fitzforge/polestar#672 · 1 comment ·
Maintainers usually reply within 1 day
-
Witch 2Open
Difficulty 1/5 Under an hour Newbie friendliness 91/100
LuaLS/lua-language-server#3482 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jangala-dev/devicecode-lua#344 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
luainkernel/lunatik#2018 ·
Maintainers usually reply within 1 day