File tree Expand file tree Collapse file tree 4 files changed +31
-6
lines changed
Expand file tree Collapse file tree 4 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 22{} ( :package |docs-workflow )
33 :configs $ {} ( :init-fn |docs-workflow.main/main! ) ( :reload-fn |docs-workflow.main/reload! )
44 :modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-ui.calcit/ |respo-markdown.calcit/ |reel.calcit/ |respo-router.calcit/ |alerts.calcit/
5- :version |0.0.2
5+ :version |0.0.3
66 :entries $ {}
77 :files $ {}
88 |docs-workflow.comp.container $ {}
151151 js-object ( :html false ) ( :breaks true )
152152 :highlight $ fn ( code lang )
153153 if ( = lang "\" cirru" ) ( color/generate code )
154- .-value $ .!highlightAuto hljs code lang
154+ .-value $ .!highlightAuto hljs code ( js-array lang )
155155 |comp-page-entries $ quote
156156 defcomp comp-page-entries ( selected parent-path entries on-select )
157157 div
270270 "\"highlight.js" :default hljs
271271 "\"highlight.js/lib/languages/bash" :default bash-lang
272272 "\"highlight.js/lib/languages/clojure" :default clojure-lang
273+ "\"highlight.js/lib/languages/rust" :default rust-lang
273274 :defs $ {}
274275 |render-app! $ quote
275276 defn render-app! () $ render! mount-target ( comp-container @*reel schema/docs ) dispatch!
282283 |*reel $ quote
283284 defatom *reel $ -> reel-schema/reel ( assoc :base schema/store ) ( assoc :store schema/store )
284285 |main! $ quote
285- defn main! () ( .!registerLanguage hljs "\" clojure" clojure-lang ) ( .!registerLanguage hljs "\" bash" bash-lang )
286+ defn main! () ( .!registerLanguage hljs "\" clojure" clojure-lang ) ( .!registerLanguage hljs "\" bash" bash-lang ) ( .!registerLanguage hljs " \" rust" rust-lang )
286287 println "\" Running mode:" $ if config/dev? "\" dev" "\" release"
287288 if config/dev? $ load-console-formatter!
288289 render-app!
Original file line number Diff line number Diff line change @@ -11,3 +11,13 @@ println "|a demo of code"
1111defn f1 ()
1212 + 1 2 4
1313```
14+
15+ ``` clojure
16+ (+ 1 2 )
17+ ```
18+
19+ ``` rust
20+ fn main () -> i64 {
21+ 1
22+ }
23+ ```
Original file line number Diff line number Diff line change 11{
2- "version" : " 0.0.2 " ,
2+ "version" : " 0.0.3 " ,
33 "dependencies" : {
44 "@calcit/procs" : " ^0.5.28"
55 },
You can’t perform that action at this time.
0 commit comments