Liking cljdoc? Tell your friends :D

dali.io


attr-ns-removerclj

(attr-ns-remover nss)
source

buffered-image-attrclj

(buffered-image-attr buffered-image)
source

data-uriclj

(data-uri bytes mime-type)
source

enlive->hiccupclj

(enlive->hiccup document)
source

enlive-tag?clj

(enlive-tag? x)
source

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.
sourceraw docstring

load-enlive-svgclj

(load-enlive-svg filename)
source

namespaceclj

(namespace tag-name)
source

raster-image-attrclj

(raster-image-attr filename format)
source

render-pngclj

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

render-svgclj

(render-svg doc filename)
source

slurp-data-uriclj

(slurp-data-uri filename mime-type)
source

spit-svgclj

(spit-svg xml filename)
source

svg-doctypeclj

source

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.
sourceraw 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.
sourceraw 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.
sourceraw docstring

xml->xml-stringclj

(xml->xml-string xml)

Converts clojure.xml representation to an XML string.

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

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

× close