<img style="float: right" src="whatever.jpg">
Continue markdown text...
@MattDiPasquale Closing slashes are not necessary. That's XHTML, not HTML.
Clean it up & standardize by strippnig the unnecessary div and adding a closing slash to the img tag, respectively, i.e. `<img style="float:right" src="whatever.jpg" />
Instead of div I prefer using span for inline indenting. For full paragraph centering div is good, or even simple p.
This work better with some sanitized interpreters like the GitHub's one: <img align="right" src="whatever.jpg" />
You can embed HTML in Markdown, so you can do something like this:
i tried this to embed an image in a ghost blog post; using <div style="float:right"><img ...></div> flowed the following paragraph around the image correctly, whereas <img style="float: right" ...> put the paragraph and the image in side-by-side boxes.