Resize Images


日本語 (ja)

Typora allows you to use <img> tag for displaying images, which can also be used to adjust the size of images.

For example, you could specify the width or height attribute of an <img> tag, or set the width/height in its style attribute:

<img src="" width="200px" />


<img src="" style="height:200px" />

Another common use case is that when you insert a retina image, you need to scale it to a “correct” size. To do this, specify a zoom factor in its style attribute:

<img src="" style="zoom:50%" />

You can set other css properties in the style attribute: they will be ignored when you edit or preview by Typora, but can affect the exported HTML or PDF.