Here are some real-world examples of using interactive code snippets to document and explain things. In each of them, you can run/edit the code without leaving your browser or installing anything.

Programming languages

Compact objects in Python python

Go release notes go

Try C c

Try Odin odin


Upsert in SQL postgres, mysql, sqlite

SQL join flavors postgres, sqlite

FerretDB tutorial ferretdb

chDB documentation chdb

SQLite release notes sqlite


API tutorials beyond OpenAPI fetch, javascript, python

Curl by example shell, net-tools

Try Caddy caddy

Apache APISIX tutorial apisix


Git by example shell

Grep by example shell

Try ripgrep shell


Try Scikit-learn python

Try Mermaid javascript