Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/volltin/nicegui-codemirror
A simple code editor based on the CodeMirror for the NiceGUI framework
https://github.com/volltin/nicegui-codemirror
codemirror nicegui
Last synced: 25 days ago
JSON representation
A simple code editor based on the CodeMirror for the NiceGUI framework
- Host: GitHub
- URL: https://github.com/volltin/nicegui-codemirror
- Owner: volltin
- License: mit
- Created: 2024-03-19T18:34:04.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-18T20:40:54.000Z (9 months ago)
- Last Synced: 2024-11-06T04:19:19.455Z (2 months ago)
- Topics: codemirror, nicegui
- Language: JavaScript
- Homepage:
- Size: 52.7 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NiceGUI CodeMirror
A simple code editor based on the [CodeMirror](https://codemirror.net/5/) for the [NiceGUI](https://github.com/zauberzeug/nicegui) framework. It provides a user-friendly interface for writing and editing code with features like line numbers, smart indentation, and event handling for changes, focus, and blur. Value binding is also supported.
## Usage
See `main.py` for a usage example.
```python
from codemirror import CodeMirrorcode_editor = CodeMirror()
```