CodeNewbie Community 🌱

Discussion on: How to embed rich content ?

Collapse
 
michaeltharrington profile image
Michael Tharrington

Heyo! Thanks for pointing this issue out. 🙂

The new syntax for embedding content is simplified to just include the keyword embed instead of specifying the embed type. So, embedding the comment you mentioned would be written as {% embed https://community.codenewbie.org/yuridevat/comment/a9d %}

That said, I tested this out on CodeNewbie just now and hit an error. I think we may be having a few issues with embedding content on CodeNewbie right now and so have tagged in a teammate to look at things. I'll get back in touch when we figure out what's happening here!

Collapse
 
yuridevat profile image
𝕁𝕦𝕝𝕚𝕒 👩🏻‍💻

Thank you so much for your answer, Michael. To use "embed" was what I thought first, but it did not work. Then I found out, people are using "link", "comment", etc and it worked with using "link" for an article of mine, but not with "comment".
I am glad you helped clarify how to (normally) use it :)

Collapse
 
michaeltharrington profile image
Michael Tharrington • Edited

You're very welcome! 🙌

And yep, this is a bit confusing. We actually recently changed out syntax for embeds, simplifying things so that folks can just use "embed" without having to remember what type of embed it is (i.e. "link", "comment", etc.) That said, I believe it was built in such a way that the older methods still work.

Collapse
 
michaeltharrington profile image
Michael Tharrington

Alrighty! Just wanted to point out that a fix is in for this issue and should be live in just a few after 3 PM UTC. 🙌

Big thanks for asking this question and making us aware of this issue!! 😀

Thread Thread
 
yuridevat profile image
𝕁𝕦𝕝𝕚𝕒 👩🏻‍💻

Yep, it's working. Thank you so much!!

Thread Thread
 
michaeltharrington profile image
Michael Tharrington

Woot! Happy to hear it. 😀