File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ const wrapperConfig: WrapperConfig = {
2828 htmlContainer: document .getElementById (' monaco-editor-root' )! ,
2929 editorAppConfig: {
3030 codeResources: {
31- main : {
32- text : ' print("Hello, World!") ' ,
33- uri : ' /workspace/hello.py '
31+ modified : {
32+ uri : ' /workspace/hello.py ' ,
33+ text : ' print("Hello, World!") '
3434 }
3535 }
3636 }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Monarch grammars and themes can only be used in **classic** mode and textmate gr
4545
4646## Usage
4747
48- Monaco Editor with TypeScript language support in web worker and relying on classic mode:
48+ Monaco Editor with Python language support in web worker and relying on extended mode:
4949
5050``` ts
5151import ' @codingame/monaco-vscode-python-default-extension' ;
@@ -59,9 +59,9 @@ const run = async () => {
5959 htmlContainer: document .getElementById (' monaco-editor-root' )! ,
6060 editorAppConfig: {
6161 codeResources: {
62- main : {
63- text : ' print("Hello, World!") ' ,
64- uri : ' /workspace/hello.py '
62+ modified : {
63+ uri : ' /workspace/hello.py ' ,
64+ text : ' print("Hello, World!") '
6565 }
6666 }
6767 }
You can’t perform that action at this time.
0 commit comments