Skip to content

Commit

Permalink
[wip] fix api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Dec 6, 2023
1 parent 3600560 commit 7218f39
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/src/ns_to_markdown.clj
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@

(defn unindent
[doc]
(->> (string/split-lines doc)
(map #(string/replace % #"^\s{0,2}" ""))
(string/join "\n")))
(some->> doc
(string/split-lines )
(map #(string/replace % #"^\s{0,2}" ""))
(string/join "\n")))

(defn read-var
[var]
Expand Down

0 comments on commit 7218f39

Please sign in to comment.