The image component embeds an image in your document. You can point to image files stored within the project, or an external URL.
Checkout the Markdown Guide for more details on configuring images.
To add an image to your document, a similar syntax to links is used but prefixed with an exclamation mark
An optional caption below the image can be set by adding your caption text between the
 brackets. The following sample demonstrates adding a caption:
![This is an optional caption](/static/sample.jpg)
title attribute for the resulting HTML
<img> element can be set by adding the title text after the link. The title can be used differently within different browsers, but is typically shown as a tooltip when mouse pointer is held over the image. The following sample demonstrates adding a title:
![This is an optional caption](/static/sample.jpg "This is an optional title")
Hold your mouse pointer over the image to see the title.
By default, images are not links, but it's easy to make your image into a link by just wrapping the image in a link.
If an image is configured on a separate line, Retype includes extra functionality for the custom alignment of images on the page. For instance, you can specify the left or right alignment of an image and have the text flow around the image. Check out the Image alignment demo.
If an image is defined inline with other text on the same line, the image will be treated as an inline image and Retype alignment options will be ignored.
plus option for Blog pages or pages with
layout: central will help to position the image slightly overlapping the left or right content margins.
||Center aligned in its container (default)|
||Float left aligned|
||Float left aligned with some negative left offset|
||Float right aligned|
||Float right aligned with some negative right offset|
||Center aligned plus negative offset both sides|
Here's a sample page demonstrating all the image alignment scenarios, including
plus alignment options only apply when the page is
layout: central or
For default page layouts with a left navigation and/or the right table of contents, the
plus positions will fallback to their non-plus equivalents. For instance,
rightplus will fallback to
right and the
centerplus will fallback to
Photo by carlos aranda on Unsplash.