Embedding a codepen in a (MDSVEX) markdown page in Sveltekit

I have a site that uses Sveltekit and MDSVEX to convert markdown documents (+page.md) into web pages and embed them in a section’s template. In my “Lab” section, I list all of my experiments via frontmatter in the markdown docs and when a user goes to the experiment page, I would like to show a codepen. I have tried both HTML and iFrame embeds in the markdown. This generally renders nothing but a border and the problem (at least with HTML embed appears to be the <script async> call that the embed requires. I have also tried to include both in a component (CodePen.svelte) and include that in the markdown file as you would typically include a component in a markdown file (with a <script> import Component... line and then the component <CodePen> in the body somewhere. Neither of these methods work either. Is there a technique that I am missing or is this just not possible?