mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 11:26:26 +00:00
Merge remote-tracking branch 'upstream/master' into whiteboards
This commit is contained in:
@@ -18,10 +18,12 @@
|
||||
[state]
|
||||
(let [[id s display?] (:rum/args state)]
|
||||
(try
|
||||
(js/katex.render s (gdom/getElement id)
|
||||
#js {:displayMode display?
|
||||
:throwOnError false
|
||||
:strict false})
|
||||
(when-let [elem (gdom/getElement id)]
|
||||
(js/katex.render s elem
|
||||
#js {:displayMode display?
|
||||
:throwOnError false
|
||||
:strict false}))
|
||||
|
||||
(catch js/Error e
|
||||
(js/console.error e)))))
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
(defn sub-zotero-config
|
||||
[]
|
||||
(:zotero/settings-v2 (get (state/sub-config) (state/get-current-repo))))
|
||||
(:zotero/settings-v2 (state/sub-config)))
|
||||
|
||||
(defn all-profiles []
|
||||
(let [profiles (-> (sub-zotero-config) keys set)
|
||||
|
||||
Reference in New Issue
Block a user