Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 633 Bytes

File metadata and controls

26 lines (20 loc) · 633 Bytes

Markdown image sizer

NodeBB plugin allows you to change the size of a markdown image in a post using the @ character. The image is updated automatically in the composer preview.

The syntax is:

![alternative text](http://someurl.com/someimage.png@<size>)

You can change the size in three different ways:

Width and height (doesn't keep aspect ratio):

![alternative text](http://someurl.com/someimage.png@1920x1080)

Percentage (keep aspect ratio):

![alternative text](http://someurl.com/someimage.png@50%)

Width only(keep aspect ratio):

![alternative text](http://someurl.com/someimage.png@200)