Skip to content

Commit

Permalink
add note about settings
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Aug 1, 2024
1 parent 1f9ba51 commit 0cb4edc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion demo/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ import LeanMonacoComponent from './LeanMonaco'
import { LeanMonacoOptions } from 'lean4monaco'

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

return (
Expand Down

0 comments on commit 0cb4edc

Please sign in to comment.