Is there a way to specify the image size?

Viewed 12

Is there a way to set the size of the image? Syntax that I'm missing? I've tried using some misc syntax from markdown apps; obsidian, iA Writer, etc.

Honestly, I was trying to avoid writing html tags. <img src="file.img" width="xxx" />

Maybe this is feature request? hrmmmm.. Thanks for considering if it is.

-jt

1 Answers

Depends on the processor you're using.

With MMD:

![ALT][id]

[id]: path/to/image.png width=800

With Kramdown:

![ALT](path/to/image.png){ width=800 }

And all processors respond to Bear/Panda syntax which is a JSON blob that goes in an HTML comment after the image, but it's ungainly for use outside of Bear, where it's generated automatically.

Markdown itself does not have this type of attribute ability. Any abilities are related to the flavor you choose to use.