mirror of
https://github.com/logseq/logseq.git
synced 2026-05-26 13:44:13 +00:00
Merge branch 'master' into test/add-clj-kondo-part-two
This commit is contained in:
@@ -62,16 +62,7 @@
|
||||
(let [element (if block?
|
||||
:div.latex
|
||||
:span.latex-inline)]
|
||||
[element (cond
|
||||
block?
|
||||
[element (if (or block? display?)
|
||||
(util/format "$$%s$$" s)
|
||||
|
||||
;; TODO: We never get to :else b/c this branch always evaluates as true
|
||||
#_:clj-kondo/ignore
|
||||
:display?
|
||||
(util/format "$$%s$$" s)
|
||||
|
||||
#_:clj-kondo/ignore
|
||||
:else
|
||||
;; inline
|
||||
(util/format "$%s$" s))]))
|
||||
|
||||
Reference in New Issue
Block a user