Skip to content

ggicci/goplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goplay

Embeded Go Playground on your Websites

npm install @ggicci/goplay

Read goplay: Embed Go Playground on your Website to learn how it works.

Use Cases

Work with Hugo | demo

When working with Hugo, we can use @ggicci/goplay to render a Go code block as a readonly but runnable Go Playground widget. A hugo shortcode called goplay has already been invented.

Read hugo-shortcode-goplay for details to know how to use it. It should be very easy and handy.

Work with Docusaurus | demo

When working with Docusaurus, we can create a custom component to use @ggicci/goplay to wrap its native CodeBlock component with Go Playground support. Here's an example: GoPlay.tsx.

Work with Ghost | demo | gist

Customizations

Use @ggicci/goplay's API directly. Read use @ggicci/goplay for details and sample code.

Resources

About

🐹 Embed Go Playground on your Website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy