Do we need {{EmbedGHLiveSample}}
macro now that we have playable {{EmbedLiveSample}}
macro?
#687
Replies: 2 comments 1 reply
-
Hey @OnkarRuikar I'm pretty much on board with this, however I think we'll find some examples that are going to be hard to migrate to The long term goal would be to find a way to do this, but initially point 3. is a big yes - if we could move anything that can be moved to |
Beta Was this translation helpful? Give feedback.
-
Although they have drawbacks, there are various reasons people have opted to use EmbedGHLiveSample over the years.
I agree that EmbedLiveSample should be the default tool people reach for in most cases, but at the moment, there are a few reasons people might want to use EmbedGHLiveSample. So it seems premature to deprecate it.
Are there lots of cases where people add new GHLiveSamples that could easily have been LiveSamples? I mean, is this a real problem?
If there are examples that would fit better as live samples, moving them seems fine. But it's a project to assess which ones they are. |
Beta Was this translation helpful? Give feedback.
-
The {{EmbedGHLiveSample}} macro embeds interactive demos from
https://mdn.github.io
website using<iframe>
tag. E.g. Playing with box model demo.Now the other macro {{EmbedLiveSample}} has been made playable it is way better than the
EmbedGHLiveSample
. E.g. Box shadow example.The
EmbedGHLiveSample
requires to create example in other repos. So it is hard to implement and maintain such content. On the other hand theEmbedLiveSample
macro is more versatile and more prevalent.My questions are:
EmbedGHLiveSample
macro in yari?EmbedGHLiveSample
macro?EmbedLiveSample
? This will help in other aspect that we've been eyeing on merging examples repos inmdn/content
repo since long time.Beta Was this translation helpful? Give feedback.
All reactions