Skip to content

Commit 38c07a1

Browse files
committed
fix: monaco build with custom outDir
1 parent cbacf8c commit 38c07a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/config-monaco.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Configure Monaco
22

3-
> Monaco support is experimental. There is a known issue that Monaco's elements will be misplaced when the slide scales. We are working on it and trying to find a solution. Before that, the workaround there is to set the scale to `1:1` and use the browser's zoom to manually scale to the size of your screen.
3+
> By default, Monaco only is enabled only on dev mode. To make it work on SPA build, add `monaco: true` to your frontmatter configs.
44
55
Create `./setup/monaco.ts` with the following content:
66

0 commit comments

Comments
 (0)