Skip to content

Commit 0cb4edc

Browse files
committed
add note about settings
1 parent 1f9ba51 commit 0cb4edc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: demo/src/App.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ import LeanMonacoComponent from './LeanMonaco'
44
import { LeanMonacoOptions } from 'lean4monaco'
55

66
function App() {
7-
const [options, setOptions] = useState<LeanMonacoOptions>({websocket: {url: 'ws://localhost:8080/'}, vscode: {"workbench.colorTheme": "Visual Studio Light"}})
7+
const [options, setOptions] = useState<LeanMonacoOptions>({websocket: {url: 'ws://localhost:8080/'}, vscode: {
8+
"workbench.colorTheme": "Visual Studio Light",
9+
/* To add settings here, you can open your settings in VSCode (Ctrl+,), search
10+
* for the desired setting, select "Copy Setting as JSON" from the "More Actions"
11+
* menu next to the selected setting, and paste the copied string here.
12+
*/
13+
}})
814
const [numberEditors, setNumberEditors] = useState(1)
915

1016
return (

0 commit comments

Comments
 (0)