Mldoc tests run under nbb

This commit is contained in:
Gabriel Horner
2022-05-10 12:20:02 -04:00
parent 20b8b9624d
commit b79b1ca36e
8 changed files with 56 additions and 42 deletions

View File

@@ -3,8 +3,13 @@
[frontend.format.adoc :refer [->AdocMode]]
[frontend.format.protocol :as protocol]
[logseq.graph-parser.mldoc :as gp-mldoc]
[logseq.graph-parser.text :as text]
[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))