mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
Reuse starting db conn
Also move circular dep hack to ns that both nbb and cljs can use
This commit is contained in:
@@ -3,14 +3,9 @@
|
||||
[frontend.format.adoc :refer [->AdocMode]]
|
||||
[frontend.format.protocol :as protocol]
|
||||
[logseq.graph-parser.mldoc :as gp-mldoc]
|
||||
[logseq.graph-parser.text :as text]
|
||||
[logseq.graph-parser.util :as gp-util]
|
||||
[clojure.string :as string]))
|
||||
|
||||
;; TODO: Properly fix this circular dependency:
|
||||
;; mldoc/->edn > text/parse-property > mldoc/link? ->mldoc/inline->edn + mldoc/default-config
|
||||
(set! gp-mldoc/parse-property text/parse-property)
|
||||
|
||||
(defonce mldoc-record (->MldocMode))
|
||||
(defonce adoc-record (->AdocMode))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user