Skip to content

Commit ad9b581

Browse files
committed
back to codemirror 5
1 parent 3d650b7 commit ad9b581

File tree

5 files changed

+515
-411
lines changed

5 files changed

+515
-411
lines changed

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"@react-router/node": "^7.8.1",
3535
"@rescript/react": "^0.14.0-rc.1",
3636
"@rescript/webapi": "^0.1.0-experimental-29db5f4",
37+
"codemirror": "^5.65.20",
3738
"docson": "^2.1.0",
3839
"fuse.js": "^6.4.3",
3940
"glob": "^7.1.4",
@@ -74,4 +75,4 @@
7475
"vite": "^7.0.6",
7576
"vite-plugin-env-compatible": "^2.0.1"
7677
}
77-
}
78+
}

src/common/CompilerManagerHook.res

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,6 @@ let useCompilerManager = (
620620
| SetupFailed(_) => ()
621621
| Ready(ready) =>
622622
let url = createUrl((pathname :> string), ready)
623-
Console.log2("Updated URL: ", url)
624623
WebAPI.History.replaceState(history, ~data=JSON.Null, ~unused="", ~url)
625624
}
626625
}

src/components/CodeExample.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
%%raw(`import "../../styles/_hljs.css";`)
2-
31
let langShortname = (lang: string) =>
42
switch lang {
53
| "ocaml" => "ml"

0 commit comments

Comments
 (0)