Skip to content

Commit f8112d4

Browse files
committed
Fix code cell indentation in slideshow example
1 parent 24bbfad commit f8112d4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

notebooks/slideshow.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ using Clerk notebooks.
1010
Simply require `clerk-slideshow`
1111

1212
```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]))
1616
```
1717

1818
…and add it to Clerk’s existing viewers:
1919

2020
```clojure
21-
^{::clerk/visibility {:result :hide}}
22-
(clerk/add-viewers! [slideshow/viewer])
21+
^{::clerk/visibility {:result :hide}}
22+
(clerk/add-viewers! [slideshow/viewer])
2323
```
2424

2525
---
@@ -40,16 +40,16 @@ Now some demos 👉
4040
## 📊 A Plotly graph
4141

4242
```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"}]})
4545
```
4646

4747
---
4848

4949
## 📈 A Vega Lite graph
5050

5151
```clojure
52-
^{::clerk/visibility :hide}
52+
^{::clerk/visibility {:code :hide}}
5353
(clerk/vl {:width 650 :height 400 :data {:url "https://vega.github.io/vega-datasets/data/us-10m.json"
5454
:format {:type "topojson" :feature "counties"}}
5555
:transform [{:lookup "id" :from {:data {:url "https://vega.github.io/vega-datasets/data/unemployment.tsv"}

0 commit comments

Comments
 (0)