File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ using Clerk notebooks.
10
10
Simply require ` clerk-slideshow ` …
11
11
12
12
``` clojure
13
- (ns simple-slideshow
14
- (:require [nextjournal.clerk :as clerk]
15
- [nextjournal.clerk-slideshow :as slideshow]))
13
+ (ns simple-slideshow
14
+ (:require [nextjournal.clerk :as clerk]
15
+ [nextjournal.clerk-slideshow :as slideshow]))
16
16
```
17
17
18
18
…and add it to Clerk’s existing viewers:
19
19
20
20
``` clojure
21
- ^{::clerk/visibility {:result :hide }}
22
- (clerk/add-viewers! [slideshow/viewer])
21
+ ^{::clerk/visibility {:result :hide }}
22
+ (clerk/add-viewers! [slideshow/viewer])
23
23
```
24
24
25
25
---
@@ -40,16 +40,16 @@ Now some demos 👉
40
40
## 📊 A Plotly graph
41
41
42
42
``` clojure
43
- ^{::clerk/visibility : hide }
44
- (clerk/plotly {:data [{:z [[1 2 3 ] [3 2 1 ]] :type " surface" }]})
43
+ ^{::clerk/visibility { :code : hide} }
44
+ (clerk/plotly {:data [{:z [[1 2 3 ] [3 2 1 ]] :type " surface" }]})
45
45
```
46
46
47
47
---
48
48
49
49
## 📈 A Vega Lite graph
50
50
51
51
``` clojure
52
- ^{::clerk/visibility : hide }
52
+ ^{::clerk/visibility { :code : hide} }
53
53
(clerk/vl {:width 650 :height 400 :data {:url " https://vega.github.io/vega-datasets/data/us-10m.json"
54
54
:format {:type " topojson" :feature " counties" }}
55
55
:transform [{:lookup " id" :from {:data {:url " https://vega.github.io/vega-datasets/data/unemployment.tsv" }
You can’t perform that action at this time.
0 commit comments