You can insert images in Markdown easily with HackMD. HackMD will upload the image, generate the URL to the image, and render it in the note.
The permissions for the image are subordinate to the permissions for the note. So if only you can read the note, then only you can see the image, even if someone happens to have the link to the image.
Supported image formats: png
, jpg
, gif
, bmp
, tif
For example, you upload an image A to note X and paste its link to note Y and Z. Afterwards, you delete X, then you will not see A when viewing Y and Z.
A media library is on our roadmap so that the images and other assets in a note can be treated separately from the note itself.
Drag-and-drop your image file and the resulting image URL will appear at where your cursor is at.
Click on the icon from the tool bar and choose the file to upload.
HackMD supports copy-pasting images. Use (Ctrl + V or ⌘ Cmd+ V) to insert the image at your cursor.
To adjust the image size proportionally, you can insert =50%x
after the link of the uploaded image. This way, the image size will be adjusted according to the specified percentage without exceeding the display width of the notebook.
Of course, you can freely adjust the percentage to 20%, 45%, 75%, or any other value you prefer.

or

For example:

You must add a space before =
!
Here it is:
Insert =300x
after the link to specify the image width. The size can be adjusted freely, such as 10x
, 350x
, or 600x
, but the maximum width will not exceed the display width of the note.

舉例:

You must add a space before =
!
Here it is: