Embeds and Images
Text posts are great, but you can do better. This guide will walk you through embedding posts, images, and links in your posts.
Embedding posts
Or, more generally, embedding a link to a record in your post. This can be a quote post or an embedded link to a feed generator or list.
You can use the quoted property when creating a post to pass in a reference to the record you would like to quote. This can be an class instance, or any object with a uri
and cid
.
Embedding images
You can embed up to 4 images in a post using the images property.
Embedding external links
Moving on to embedding external links in your posts. The external property allows you to specify a link or object to embed in your post.
That’s it! You can also combine the quoted
and images
property to embed both a post and images in your post, but an external link will override any other embeds. Go on and spice up your posts!