Skip to content

Commit a0ce329

Browse files
committed
Revert "rollback codemirror"
This reverts commit ba425b2.
1 parent ad9b581 commit a0ce329

File tree

9 files changed

+75
-138
lines changed

9 files changed

+75
-138
lines changed

app/root.res

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
@module("./styles/main.css?url")
2-
external mainCss: string = "default"
3-
4-
@module("./styles/utils.css?url")
5-
external utilsCss: string = "default"
6-
7-
@module("./styles/_hljs.css?url")
8-
external hljsCss: string = "default"
9-
// import "../styles/main.css";
10-
// import "../styles/_hljs.css";
11-
// import "../styles/utils.css";
12-
131
%%raw(`
2+
import "../styles/main.css";
3+
import "../styles/_hljs.css";
4+
import "../styles/utils.css";
145
156
import hljs from 'highlight.js/lib/core';
167
import bash from 'highlight.js/lib/languages/bash';
@@ -43,9 +34,6 @@ let default = () => {
4334
<Links />
4435
<Meta />
4536
<link rel="icon" href="/favicon.ico" />
46-
<link rel="stylesheet" href={mainCss} />
47-
<link rel="stylesheet" href={utilsCss} />
48-
<link rel="stylesheet" href={hljsCss} />
4937
<meta charSet="UTF-8" />
5038
</head>
5139
<body>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)