(process input options)
Converts the markdown in input
(string) using the given options:
| option | description
|----------------|-------------
| user-lookup | Function to search users by @name(@domain). Should return
a map with :uri in it.
| hashtag-lookup | Function to search hashtags. Should return a map with :uri
in it.
| transformers | (optional) Vector of transformer functions (presumably
from karak.transformers). Defaults to k.t/defaults
Returns a map of the following format: :text The actual processed text :length The total length of the visible bits of the text (excludes tags etc) :mentions Collection of mentions :hashtags Collection of hashtags :links Collection of other links
Converts the markdown in `input` (string) using the given options: | option | description |----------------|------------- | user-lookup | Function to search users by @name(@domain). Should return a map with :uri in it. | hashtag-lookup | Function to search hashtags. Should return a map with :uri in it. | transformers | (optional) Vector of transformer functions (presumably from karak.transformers). Defaults to k.t/defaults Returns a map of the following format: :text The actual processed text :length The total length of the visible bits of the text (excludes tags etc) :mentions Collection of mentions :hashtags Collection of hashtags :links Collection of other links
(to-tagged-vec text
{:keys [transformers] :or {transformers defaults} :as options})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close