tags:

views:

1083

answers:

2

I'm helping out a friend with a non-profit site that publishes articles in issues each month. They are mostly straightforward, and I think using a markdown editor (like the wmd one here in SO) would be perfect. However, they do need the ability to have images right-aligned in a given paragraph. I can't see any way to do that with the current system - is it possible?

+4  A: 

You can embed html in markdown, so you can do something like this:

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

Continue markdown text...
Greg Hewgill
+3  A: 
<div style="float:left;margin:0 10px 10px 0" markdown="1">
    ![book](/images/book01.jpg)
</div>

The attribute markdown possibility inside markdown.