Stackedit: Unable to control the size of images

Created on 5 Nov 2013  Â·  58Comments  Â·  Source: benweet/stackedit

How do I add a size hint to images?

Thanks. Great tool!

enhancement question

Most helpful comment

Some Markdown Editors use this syntax:

![](url =widthxheight)
![](./pic/pic1_50.png =100x20)

Maybe we could get support for that?

All 58 comments

There is no proper way to specify the size of an image in Markdown syntax. However there are 2 workarounds:

  • Resize your image yourself or let Google do it for you (that's what I do when importing from Google+ and specifying a max size)
  • Use an HTML img tag:

<img src="http://....jpg" width="200px" height="200px" />

Some Markdown Editors use this syntax:

![](url =widthxheight)
![](./pic/pic1_50.png =100x20)

Maybe we could get support for that?

Where can I find this implementation?

I saw it in this comment, and I know for sure that Mou supports it.

+1
This would be awesome!

+1

+1

+1

+1

+1

+1

+1

+1 :+1:

Github instead allows an actual img tag that you can set the width/height on.
<img src=mypic.png width=600 height=100 />

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

Can you add a custom extension that intercepts the image conversion and accept a new sintax?

Like desc{attributes}

+1

+1

+1

+1

+1

pleeeease +1

ugh yes +1

+1

+1

+1

Everyone who +1'd is getting hit back with karma, as the notifications for
others below you +1ing piles up in your inbox.

On Fri, Jan 22, 2016 at 8:35 AM, FinnVonFriesland [email protected]
wrote:

+1

—
Reply to this email directly or view it on GitHub
https://github.com/benweet/stackedit/issues/164#issuecomment-173970672.

+1

+1

Hi benweet/stackedit,

I'd like to add you to my professional network on LinkedIn.

  • Edward

Confirm that you know Edward: https://www.linkedin.com/e/v2?e=0-ir4ijeuo-dd&t=ssuw&tracking=eml-guest-invite-cta&ek=invite_guest&sharedKey=ATIkXsnQ&invitationId=6163953587983568896

You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/e/v2?e=0-ir4ijeuo-dd&t=lun&midToken=AQFmrFVhGEd36Q&ek=invite_guest&loid=AQE2Pjn6ap41BQAAAVYrDPSZHZA0FHhkJfUf8L7NW9Nma_tb7RNmspsLw9j24hV8YQV4PYY604OB8xim8pv8Kg2vNMYUSVXoXDw4_bRK4afnyNFwMhBzM7QzT6uvGHZDk_mr8VzYmzmbb6LAkV0RMKXVMr01tPwpmH7JFfOyzHTmbqpEkQsmfW_HXAxjYCXCEHb_&eid=0-ir4ijeuo-dd

This email was sent to [email protected].

If you need assistance or have questions, please contact LinkedIn Customer Service: https://www.linkedin.com/e/v2?e=0-ir4ijeuo-dd&a=customerServiceUrl&ek=invite_guest

© 2016 LinkedIn Corporation, 2029 Stierlin Court, Mountain View CA 94043. LinkedIn and the LinkedIn logo are registered trademarks of LinkedIn.

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1
Almost 4 years and it's not implemented yet

+1

+1

+1

+1

+1

+1

Actually the <img src="http://....jpg" width="200px" height="200px" /> works well enough, though having ![](url =widthxheight) support would be cool.

But the problem is, seems the adjustment with embedded CSS is to scale the image that has already been scaled once. That means, if you enlarge the image again, it would be blurred.

Fixed in v5.11. Syntax is ![test](image.png =100x200).

Fixed in v5.11. Syntax is ![test](image.png =100x200).

Wonderful! But when the document is exported, the image isn't available in PDF. Neither does using an tag images. Any solution to this please?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KOLANICH picture KOLANICH  Â·  4Comments

tydel picture tydel  Â·  4Comments

rajanand picture rajanand  Â·  3Comments

gabrielacosta picture gabrielacosta  Â·  5Comments

mashirozx picture mashirozx  Â·  7Comments