⇦ Back to Janet API Survey

*doc-color* (keyword)

*doc-color* is bound to the keyword :doc-color—it can be used in place of :doc-color in a call to dyn, setdyn, or with-dyns and is preferable to using the keyword directly. When truthy, the binding indicates that the doc-format function should decorate the given documentation with ANSI escape codes.

repl> (root-env '*doc-color*)
@{:doc "Whether or not to colorize documentation printed with `doc-format`."
  :dyn true
  :source-map ("boot.janet" 3239 1)
  :value :doc-color}

Things I Learned

`(code snippet)`
*underline*
**bold**

Created: