File tree 5 files changed +129
-1203
lines changed
src/nextjournal/clerk/render
5 files changed +129
-1203
lines changed Original file line number Diff line number Diff line change 50
50
test:clj {:doc " Run clojure tests"
51
51
:task (apply clojure " -X:test" *command-line-args*)}
52
52
53
- playwright:version {:doc " Print used playwright version from ui_tests/package-lock .json"
53
+ playwright:version {:doc " Print used playwright version from ui_tests/yarn .json"
54
54
:task (print (->> (babashka.process/shell {:out :string } " grep -E 'playwright-core \" (.*)\" ' ui_tests/yarn.lock" )
55
55
:out
56
56
str/trim
Original file line number Diff line number Diff line change 18
18
"@nextjournal/lezer-clojure" : " 1.0.0" ,
19
19
"d3-require" : " ^1.2.4" ,
20
20
"emoji-regex" : " ^10.0.0" ,
21
+ "fraction.js" : " 4.2.1" ,
21
22
"framer-motion" : " ^10.12.16" ,
22
23
"katex" : " ^0.12.0" ,
23
24
"lezer-clojure" : " 1.0.0-rc.2" ,
26
27
"markdown-it-footnote" : " ^3.0.3" ,
27
28
"markdown-it-texmath" : " ^1.0.0" ,
28
29
"markdown-it-toc-done-right" : " ^4.2.0" ,
30
+ "odex" : " 3.0.0-rc.4" ,
29
31
"punycode" : " 2.1.1" ,
30
32
"react" : " ^18.2.0" ,
31
33
"react-dom" : " ^18.2.0" ,
34
36
"w3c-keyname" : " 2.2.4"
35
37
},
36
38
"devDependencies" : {
37
- "@tailwindcss/typography" : " ^0.5.0" ,
38
- "postcss" : " ^8.4.5" ,
39
- "shadow-cljs" : " ^2.16.7" ,
40
- "tailwindcss" : " ^3.0.9"
39
+ "process" : " ^0.11.10"
41
40
}
42
41
}
Original file line number Diff line number Diff line change 111
111
(concat [(.sliceString text pos to)]))))))))
112
112
113
113
(defn import-matching-language-parser [language]
114
- (.. (shadow.esm/dynamic-import " https://cdn.skypack.dev/@codemirror/language-data@6.1.0 " )
114
+ (.. (shadow.esm/dynamic-import " https://cdn.skypack.dev/@codemirror/language-data@6.5.1 " )
115
115
(then (fn [^js mod]
116
116
(when-some [langs (.-languages mod)]
117
117
(when-some [^js matching (or (.matchLanguageName LanguageDescription langs language)
Original file line number Diff line number Diff line change 92
92
(p/delay 30000 ) ; ; allow errors to be logged to console
93
93
(is (zero? (count @console-errors))
94
94
(str/join " \n " (map (fn [{:keys [msg notebook]}]
95
- [( .text msg) ( .location msg) notebook])
95
+ [msg notebook])
96
96
@console-errors))))
97
97
(.catch (fn [err]
98
98
(js/console.log err)
You can’t perform that action at this time.
0 commit comments