Liking cljdoc? Tell your friends :D

lucid.publish.link.tag


create-candidateclj

(create-candidate {:keys [origin title type] :as element})

creates a candidate based on element

(create-candidate {:origin :ns :ns "lucid.publish"}) => "ns-lucid-publish"

creates a candidate based on element

(create-candidate {:origin :ns
                   :ns "lucid.publish"})
=> "ns-lucid-publish"
raw docstring

create-tagclj

(create-tag element tags)
(create-tag element tags candidate)

creates a tag based on element and existing tags

(create-tag {:title "hello"} (atom #{"hello" "hello-0" "hello-1" "hello-2"})) => {:title "hello", :tag "hello-3"}

creates a tag based on element and existing tags

(create-tag {:title "hello"}
            (atom #{"hello" "hello-0" "hello-1" "hello-2"}))
=> {:title "hello", :tag "hello-3"}
raw docstring

inc-candidateclj

(inc-candidate candidate)

creates additional candidates

(inc-candidate "hello") => "hello-0"

(inc-candidate "hello-10") => "hello-11"

creates additional candidates

(inc-candidate "hello")
=> "hello-0"

(inc-candidate "hello-10")
=> "hello-11"
raw docstring

(link-tags {:keys [articles] :as interim} name)

link tags to all elements for a particular article

link tags to all elements for a particular article
raw docstring

tag-optional?clj


tag-required?clj


tag-stringclj

(tag-string s)

creates a tag based on string

(tag-string "hello2World/this.Rocks") => "hello2-world--this-rocks"

creates a tag based on string

(tag-string "hello2World/this.Rocks")
=> "hello2-world--this-rocks"
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close