Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize Image Displayed from Markdown Tag? #30

Open
erwin opened this issue Nov 28, 2022 · 0 comments
Open

Resize Image Displayed from Markdown Tag? #30

erwin opened this issue Nov 28, 2022 · 0 comments

Comments

@erwin
Copy link

erwin commented Nov 28, 2022

Is there a way to set image dimensions in markdown img tags rendered by hologram?

For example, Discourse uses:

![image|298x130](upload://pT8t57buMgl0GD6NIjot77Ui8Sh.png) 
![image|298x130,50%](upload://pT8t57buMgl0GD6NIjot77Ui8Sh.png) 

Some other markdown flavors use:

![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)

![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png =250x250)

On Github and Gitlab you can use:

[<img src="image.png" width="250"/>](image.png)

I often prefer to include very large images if possible with my notes, so that if printed it would still look correct, and also to keep notes "future proof" as much as possible...

So would be fantastic if we could specify a size directly in the markdown img tag.

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

No branches or pull requests

1 participant