Skip to content

fix: support copying internal images with size parameters#6

Open
footmanFF wants to merge 1 commit into
msgk239:mainfrom
footmanFF:main
Open

fix: support copying internal images with size parameters#6
footmanFF wants to merge 1 commit into
msgk239:mainfrom
footmanFF:main

Conversation

@footmanFF
Copy link
Copy Markdown

Fixed an issue where internal images with size parameters (e.g., ![[image.png|100]]) were failing to copy in Rich Text mode.

Changes:

  • Correctly parse image filename by ignoring parameters when looking up files in the vault.
  • Applied width/height parameters to the generated tag style in Rich Text mode, preserving the visual layout.
  • Fixed copyAsMarkdown to also handle image links with parameters correctly.

@footmanFF footmanFF changed the title Fixed an issue where internal images with size parameters (e.g., ![[image.png|100]]) were failing to copy in Rich Text mode. fix: support copying images with size parameters (e.g. ![[image.png|1… fix: support copying internal images with size parameters Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant