Skip to content

Commit

Permalink
minor doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
daslu committed Sep 10, 2024
1 parent ab1c183 commit f62b490
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions notebooks/index.clj
Original file line number Diff line number Diff line change
Expand Up @@ -610,24 +610,38 @@

;; Markdown styling is not currently handled when rendering direct to HTML.

;; ### Varying kindly options
;; ## Varying kindly options

;; (experimental)

(kindly/hide-code
(kindly/merge-options!
{:code-and-value :horizontal})
(kindly/merge-options! {:code-and-value :horizontal})
false)

(+ 1 2)

(+ 3 4)

(kindly/hide-code
(kindly/merge-options!
{:code-and-value :vertical})
(kindly/merge-options! {:code-and-value :vertical})
false)

(+ 1 2)

(+ 3 4)

(kindly/hide-code
(kindly/merge-options! {:style {:background-color "#ccddee"}})
false)

(kind/hiccup
[:div
[:p "hello"]])

(kindly/hide-code
(kindly/merge-options! {:style {:background-color nil}})
false)

(kind/hiccup
[:div
[:p "hello"]])

0 comments on commit f62b490

Please sign in to comment.