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 1.22 release notes go

Built-in functions in Go 1.21 go

Trying Odin odin


Upsert in SQL postgres, mysql, sqlite

SQL join flavors postgres, sqlite

Try MariaDB in Y minutes mariadb

FerretDB CRUD Tutorial ferretdb

chDB Documentation chdb

SQLite 3.44 release notes sqlite

Network & others

API tutorials beyond OpenAPI fetch, javascript, python

Mastering curl bash, net-tools