REPL Style Test
REPL Style Test Page
This page shows all available REPL styles for code examples.
1. Terminal (macOS window chrome)
>>> ----------------1
1
2. Minimal (clean, no decoration)
>>> ----------------1
1
3. Card (rounded with shadow)
>>> ----------------1
1
4. Split (two-column layout)
Input
----------------1
1
5. Annotated (arrow pointing to output)
>>> ----------------1
→
1
6. Pill (compact inline)
----------------1
=
1
7. Stack (vertical separation)
8. Gradient (purple → blue)
>>> ----------------1
1
9. Typewriter (retro Solarized-light)
>>> ----------------1
1
10. Neon (cyberpunk glow) ⭐ CHOSEN
>>> ----------------1
1
11. Paper (academic documentation)
>>> ----------------1
1
Multi-line Examples
Neon with multiple lines
>>> def greet(name):
... return f"Hello, {name}!"
>>> greet("World")
'Hello, World!'
Terminal with multiple lines
>>> import json
>>> data = {"key": "value"}
>>> json.dumps(data)
'{"key": "value"}'
Regular Code Blocks (for comparison)
>>> ----------------1
1
def hello():
return "world"
NEW: Markdown-based REPL (automatic neon styling)
Just use ```python-repl and it automatically becomes neon-styled:
>>> ----------------1
1
>>> def greet(name):
... return f"Hello, {name}!"
>>> greet("World")
'Hello, World!'
>>> import json
>>> data = {"key": "value"}
>>> json.dumps(data)
'{"key": "value"}'