Embed sandbox.bio
Add a unrecorded terminal to your website aliases blog post
You tin embed a sandbox.bio terminal straight connected your website aliases blog post. Simply adhd this book tag to your page:
<script src="https://sandbox.bio/embed.js" data-cwd="embed"></script>
If you usage GitHub Pages, immoderate Markdown codification blocks you people arsenic ```bash will person a "Run" fastener that executes directly successful the embedded terminal. For HTML websites, immoderate <div> pinch the people "language-bash" will get a "Run" button.
You tin besides customize the embedded terminal by adding attributes to the book tag:
- data-cwd="folder-name": the starting moving directory successful the terminal
- data-config="https://yourwebsite.com/config.json": an optional distant config URL, utilizing the aforesaid format arsenic the sandboxbio.config.json record utilized by the GitHub integration. This record tin beryllium hosted on GitHub Pages too.
If you request to preload files successful the terminal, you tin usage the array files wrong your config, and specify the URLs to where each record lives:
{ tools: [ { "url": "https://<username>.github.io/<repo>/data/example.bam", "path": "example.bam" } ] }
English (US) ·
Indonesian (ID) ·