Metadata-Version: 2.1
Name: streamlit_monaco_code_editor
Version: 0.0.1
Summary: A wrapper of the Monaco Editor for Streamlit
Home-page: https://github.com/li-xin-yi/streamlit_monaco_code_editor
Author: Xinyi Li
Author-email: wolixinyi@gmail.com
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: streamlit >=0.63
Provides-Extra: devel
Requires-Dist: wheel ; extra == 'devel'
Requires-Dist: pytest ==7.4.0 ; extra == 'devel'
Requires-Dist: playwright ==1.39.0 ; extra == 'devel'
Requires-Dist: requests ==2.31.0 ; extra == 'devel'
Requires-Dist: pytest-playwright-snapshot ==1.0 ; extra == 'devel'
Requires-Dist: pytest-rerunfailures ==12.0 ; extra == 'devel'

# Streamlit Manoco Code Editor

A wrapper of the Monaco Code Editor for Streamlit

- Support dynamic height and min height.
- Switch `vs-dark` and `vs-light` themes based on Streamlit theme.

![screenshot](screenshot.png)

## Quick start

```sh
cd streamlit_monaco_code_editor/frontend
npm install
npm run start
```

```sh
pip install -e .
```

Test the example:

```sh
streamlit run example.py
```
