How do I embed the runkit on my hugo blog?

Hello everyone, I’m working upon my Hugo blog where I want to embed the runkit, in HTML I could simply do that by embedding,

<script src="https://embed.runkit.com" data-element-id="my-element"></script>
<div id="my-element">
console.log('Hello');
</div>

I just wanna know how can I provide the content dynamically from my Hugo markdown blogs? i.e the console.log above has to be from my blog markdown post.

Thank you!

What have you done so far? We answer questions in support, not tutorials, so you’ll need to have started and have a specific question. :slight_smile:

1 Like

Hi @maiki Thank you it’s done now!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.