Skip to content

Commit

Permalink
slides example on the make pathway
Browse files Browse the repository at this point in the history
  • Loading branch information
daslu committed Nov 23, 2023
1 parent 9a4b845 commit f11317d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions notebooks/slides.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
(ns slides
(:require [scicloj.kindly.v4.kind :as kind]
[scicloj.clay.v2.api :as clay]
[clojure.java.io :as io]
[clojure.java.shell :as shell]
[tablecloth.api :as tc]))

(kind/hiccup
[:img {:src "notebooks/images/Clay.svg.png"}])

;; # A

;; ## A1

(+ 1 2)

;; ## A2

;; # B
3 changes: 3 additions & 0 deletions src/scicloj/clay/v2/make.clj
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,7 @@

(make {:format [:quarto :html]
:source-path "notebooks/index.clj"})

(make {:format [:quarto :revealjs]
:source-path "notebooks/slides.clj"})
)

0 comments on commit f11317d

Please sign in to comment.