Forem Creators and Builders 🌱

Db
Db

Posted on

Ask: Automatic link previews, YouTube embeds

Hello friends,

I am just getting started so have some basic enquiries as I play around and explore.
How can a user create a post here like on facebook/twitter.
Basically, Url auto preview and embed automatically instead of using markdown.

https://youtu.be/qNj_sI6qndw

Top comments (1)

Collapse
 
rhymes profile image
rhymes

We have liquid tags, which are how we call custom embeds, for example, using your video:

This is how I've done it: {% youtube qNj_sI6qndw %}

You can find the rest in the editor guide: forem.dev/p/editor_guide