Add support for inline images.

Closes #16.