How to embed RunKit inside my Gitbook?


#1

Perhaps I’m not understanding correctly- I’m under the impression that I can embed RunKit live snippets inside my Gitbook- right into the markdown? If that’s not the case- I’m not understanding how to do so- nor do I see any documentation on how to do this anywhere on the web for that matter. I’m sorry but I’ve been looking everywhere for just a plain and simple- ‘here’s how to embed a RunKit snippet into Gitbook.’


#2

Hi david,

I think the gitbook integration was written by the GitBook folks. I can ping them to see how its done, but I think it may require a plugin?

Thanks,

Francisco


#3

I think this may be what you are looking for: https://www.npmjs.com/package/gitbook-plugin-tonic


#4

Hey Francisco, thanks for the reply. This sort of think is exactly what I’m
looking for but you say Tonic, but that isn’t RunKit right?


#5

Hey tonic is the RunKit editor, my bad. Thanks Francisco.

David


#6

RunKit is the new name for Tonic:

Just some people haven’t changed the name of their packages.


#7

Awesome- thank you! :cold_sweat: