This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-15
Channels
- # adventofcode (13)
- # aleph (5)
- # announcements (8)
- # beginners (87)
- # calva (9)
- # cider (102)
- # cljs-dev (71)
- # cljsrn (2)
- # clojure (198)
- # clojure-dev (28)
- # clojure-europe (3)
- # clojure-italy (27)
- # clojure-nl (3)
- # clojure-spec (1)
- # clojure-uk (43)
- # clojurescript (121)
- # component (11)
- # cursive (20)
- # data-science (13)
- # datascript (2)
- # datomic (102)
- # dirac (4)
- # duct (5)
- # emacs (14)
- # figwheel-main (7)
- # fulcro (37)
- # hoplon (11)
- # jackdaw (3)
- # jobs (2)
- # leiningen (16)
- # nrepl (2)
- # off-topic (51)
- # pathom (34)
- # pedestal (12)
- # perun (10)
- # portkey (1)
- # re-frame (6)
- # reitit (1)
- # shadow-cljs (21)
- # spacemacs (8)
- # tools-deps (2)
- # vim (2)
Hey, I have a small question.
How do I access the global-metadata
from a content-task
?
Also if you're missing a few hands I would love to help, been using perun for almost two years now.
Hello https://github.com/hashobject/perun/blob/master/src/io/perun.clj#L859 loads the meta as part of the paths-fn then the renderer function applies it to the :rendered
meta of each entry.
Okay, so for instance, I have a markdown task which uses the content-task
and sends in a :passthru-fn
which needs access to the global-meta, is there any built in way to access it?
https://github.com/hashobject/perun/blob/master/src/io/perun.clj#L187 according to this the passthru-fn should be receiving global meta as the third argument.
https://github.com/hashobject/perun/blob/master/src/io/perun.clj#L820 meta is passed to the render-form-fn which is a map with {:entry {} :entries [] :global-meta}