Markdown and image alignment

Jedidja picture Jedidja · Oct 31, 2008 · Viewed 195.3k times · Source

I am making a site that publishes articles in issues each month. It is straightforward, and I think using a Markdown editor (like the WMD one here in Stack Overflow) would be perfect.

However, they do need the ability to have images right-aligned in a given paragraph.

I can't see a way to do that with the current system - is it possible?

Answer

Greg Hewgill picture Greg Hewgill · Oct 31, 2008

You can embed HTML in Markdown, so you can do something like this:

<img style="float: right;" src="whatever.jpg">

Continue markdown text...