Skip to content

Commit

Permalink
- fixed docstring for :kind/image (fixing #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
daslu committed Aug 8, 2024
1 parent 6c0adeb commit e4861fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

## [4-beta6]
- fixed docstring for `:kind/image` (fixing #16)

## [4-beta5] - 2024-06-14
- added `:kind/tex`

Expand Down
2 changes: 1 addition & 1 deletion resources/kinds.edn
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@

["specific types"
[[image {:display-as "an image"
:example "https://raw.githubusercontent.com/scicloj/graphic-design/live/icons/Kindly.svg"}]
:example "At the moment, java BufferedImage objects are supported."}]
[dataset {:display-as "a table"
:example (->> (System/getProperties)
(map (fn [[k v]] {:k k :v (apply str (take 40 (str v)))}))
Expand Down
2 changes: 1 addition & 1 deletion src/scicloj/kindly/v4/kind.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ json-schema: "

(defn image
"display-as: an image
example: https://raw.githubusercontent.com/scicloj/graphic-design/live/icons/Kindly.svg"
example: At the moment, java BufferedImage objects are supported."
([] :kind/image)
([value] (attach-kind-to-value value :kind/image))
([value options] (scicloj.kindly.v4.kind/image (vary-meta value assoc :kindly/options options))))
Expand Down

0 comments on commit e4861fe

Please sign in to comment.