Github – Flow text around an image in (GitHub) Markdown

githubmarkdown

I have a narrow long image that I want to display at the top right of a README.md file on GitHub. I have been trying several things to get it aligned right and currently have

<p align="right">
  <img src="doc/subpagelist.png" />
</p>

This works in that the image is aligned on the right side, though is rather useless as all content that is below in image in the Markdown file gets displayed under the bottom of the image, rather then to the left of it.

Is there a way to have the text flow around the image (without getting rid of headers and paragraphs)?

Best Answer

The align="right" (or left) attribute works in GitHub Markdown:

<img align="right" src="doc/subpagelist.png">