old-kentcdodds.com: [remark-embedder] CodeSandbox embed with sandbox link as text doesn't work

When converting all of @CompuIvesMedium posts over to @codesandbox’ blog, I copy-pasted the remark-embedder. (see codesandbox/codesandbox-client#2011)

When looking at all the pages I came across a bug with the CodeSandbox embed when using the sandbox link as the text of the link.

When I try to embed the following link, I see the embed instead of the text itself
An example of this can be seen at https://pr2011.build.csb.dev/post/codesandbox-an-online-react-editor (bottom of the page)

[https://codesandbox.io/s/o2yq9MkQk](https://codesandbox.io/s/o2yq9MkQk)

This seems to be very similar to #191 at first sight, but this one occurs on your blog too (as can be seen at https://kentcdodds.com/blog/mixing-component-patterns where you get a “not found” embed) when having

[**codesandbox.io/s/534rnk5yyx**](https://codesandbox.io/s/534rnk5yyx)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (17 by maintainers)

Commits related to this issue

Most upvoted comments

Oh I’m sorry didn’t know that 😕 Will keep that in mind next time 😉

Seems to work now indeed! 🎉🤘