🧪 Turn Reading Into Doing

Documentation With an Interactive Playground

Add an interactive playground under documentation code blocks so you can run and tweak examples without leaving the page.

Last updated March 1, 2026

Install Free for Chrome

Cancel anytime

What you get

  • Inject a “Run” button below examples
  • Edit code inline and view output immediately
  • Test edge cases while reading docs
  • Speed up onboarding and debugging

How it works

The workflow, in plain English

Before: You’re reading API docs. There’s a code example. “Would this work for my case?” You open CodeSandbox, paste, modify, run, compare with docs. 5 minutes per example.

After: Below each code example in the docs, a “Run” button appears. Click it. The output renders right there. Edit the code inline. Change a parameter and run again. The documentation became a playground. You test ideas at the speed of reading.

Why traditional tools can’t: Interactive docs require the site author to build playgrounds. Dassi adds them to ANY documentation page, even ones with static code blocks.

Step-by-step

  1. Open the documentation page with code examples.
  2. Ask dassi to turn a specific snippet into an interactive playground.
  3. Run, modify inputs, and re-run to validate behavior.
  4. Copy the working snippet into your codebase.

Example prompts to try

  • “Make this code sample runnable and show output below.”
  • “Change the example to match my API key and endpoint.”
  • “Add a test case for error handling.”

Tips for better results

  • Be specific about what you want injected into the page (buttons, filters, a panel, a summary, etc.).
  • If the page has multiple sections, tell dassi exactly what to focus on (e.g., “the transactions table” or “the diff for file X”).
  • Prefer safe workflows first: draft, summarize, label, and prepare — then take actions (submit, purchase) only after review.

Works-with pages

Role playbooks

Frequently Asked Questions

Does the site have to support playgrounds already?

No. The idea is to add this capability even on static docs by injecting a runtime UI next to the snippet.

Is it safe to run code on documentation pages?

Treat it like any code execution: understand what you’re running, avoid secrets, and keep scope limited to test calls.

Can it adapt examples to my use case?

Yes. Provide your target language, endpoint, and constraints, and it can rewrite the snippet accordingly.

Try this workflow in 2 minutes

Install dassi, open the page you’re working on, and describe the outcome you want. No scripts, no integrations.

Install Free for Chrome

Cancel anytime