doc: readme

This commit is contained in:
Anton
2023-12-04 22:35:09 +05:00
parent cb0fb3b361
commit e337bbd0e9
+4 -6
View File
@@ -5,15 +5,13 @@ _for education, documentation, and fun_ 🎉
Codapi is a platform for embedding interactive code snippets directly into your product documentation, online course, or blog post.
```
python
┌───────────────────────────────┐
│ msg = "Hello, World!" │
│ print(msg) │
│ def greet(name): │
│ print(f"Hello, {name}!") │
│ │
│ │
│ run ► │
│ greet("World") │
└───────────────────────────────┘
✓ Done
Run ► Edit ✓ Done
┌───────────────────────────────┐
│ Hello, World! │
└───────────────────────────────┘