Liking cljdoc? Tell your friends :D

dali.io


attr-ns-removerclj

(attr-ns-remover nss)

buffered-image-attrclj

(buffered-image-attr buffered-image)

data-uriclj

(data-uri bytes mime-type)

enlive->hiccupclj

(enlive->hiccup document)

enlive-tag?clj

(enlive-tag? x)

extract-svg-contentclj

(extract-svg-content document & {:keys [namespaces]})

Extract "useful" SVG content from an enlive document for inclusion to another SVG document. Returns a map with :content and :defs that contain maps of SVG IDs (as keywords) to SVG elements (in clojure.xml format). Only tags and attrs with the namespace svg or default namespace are included.

Extract "useful" SVG content from an enlive document for
inclusion to another SVG document. Returns a map with :content and
:defs that contain maps of SVG IDs (as keywords) to SVG elements (in
clojure.xml format). Only tags and attrs with the namespace svg or
default namespace are included.
raw docstring

load-enlive-svgclj

(load-enlive-svg filename)

namespaceclj

(namespace tag-name)

raster-image-attrclj

(raster-image-attr filename format)

render-pngclj

(render-png doc filename)
(render-png doc filename options)

render-svgclj

(render-svg doc filename)

render-svg-stringclj

(render-svg-string doc)

slurp-data-uriclj

(slurp-data-uri filename mime-type)

spit-svgclj

(spit-svg xml filename)

svg-doctypeclj


tag-namespace-not=clj

(tag-namespace-not= ns)

Custom enlive selector to select tags without particular namespaces. Pass one namespace as a keyword or a set to select several namespaces.

Custom enlive selector to select tags *without* particular
namespaces. Pass one namespace as a keyword or a set to select
several namespaces.
raw docstring

tag-namespace=clj

(tag-namespace= ns)

Custom enlive selector to select tags with particular namespaces. Pass one namespace as a keyword or a set to select several namespaces.

Custom enlive selector to select tags with particular
namespaces. Pass one namespace as a keyword or a set to select
several namespaces.
raw docstring

xml->svg-document-stringclj

(xml->svg-document-string xml)

Converts clojure.xml representation to an SVG document string, complete with doctype and XML declaration.

Converts clojure.xml representation to an SVG document string,
complete with doctype and XML declaration.
raw docstring

xml->xml-stringclj

(xml->xml-string xml)

Converts clojure.xml representation to an XML string.

Converts clojure.xml representation to an XML string.
raw docstring

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

× close