remark-wiki-link-plus icon indicating copy to clipboard operation
remark-wiki-link-plus copied to clipboard

Image resizing

Open rufuspollock opened this issue 3 years ago • 0 comments

Obsidian supports a non-standard syntax for resizing images https://help.obsidian.md/How+to/Embed+files

> You can resize images using the following syntax:
> 
> For markdown images, use ![AltText|100x100](https://url/to/image.png)
> 
> For embeds, use c
> 
> To have the image scale according to its aspect ratio, omit the height ![[image.png|100]]

Acceptance

  • [ ] Support resizing of commonmark image syntax ![AltText|100x100](https://url/to/image.png) i.e. this outputs <img ... with height / width
  • [ ] Support resizing with transclusion syntax ![AltText|100x100](https://url/to/image.png)

rufuspollock avatar Aug 16 '22 07:08 rufuspollock