Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/interactive-python-editor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: interactive-python-editor
title: Interactive Python Editor
---

import InteractivePythonEditor from '@site/src/components/InteractivePythonEditor';

This page demonstrates the new interactive Python editor component. You can edit code on the left, see highlighted code on the right, and run it directly in the browser using Pyodide.

<InteractivePythonEditor />

Notes:
- The editor loads Pyodide from a CDN — the first run will take a few seconds while the WebAssembly engine downloads.
- This component is intentionally dependency-free (uses Prism for highlighting and Pyodide for execution via CDN). If you'd like tighter integration (Monaco, local Pyodide mirror, or server-side execution), I can update it.
Loading
Loading