This content originally appeared on DEV Community and was authored by Arit Amana
Hello DEV Community!
I'm excited to announce a significant improvement in how we embed rich content (such as Tweets and Youtube videos) in Forem posts and comments.🎉
Now, you need just the embed
keyword and the complete URL of the resource:
{% embed https://... %}
Prior to this change, we embedded rich content by using keywords specific to the type of embed being created. For example, to embed a GitHub repository, we would use the github
keyword and the slug to the repository:
{% github forem/forem %}
With our new approach, all you need is the complete URL to the repository:
{% embed https://github.com/forem/forem %}
Our Editor's Guide contains a list of supported content types. Note that embeds that were created using the former approach will still work for now. Eventually, the former approach will be deprecated.
Do jump in and try this new rich-content embed approach out! Please report any bugs you may encounter - thanks!
Originally published on Forem.dev.
This content originally appeared on DEV Community and was authored by Arit Amana
Arit Amana | Sciencx (2022-02-16T21:56:51+00:00) Feature update: Rich Content Embeds. Retrieved from https://www.scien.cx/2022/02/16/feature-update-rich-content-embeds/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.