mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
roam test with cljs
This commit is contained in:
committed by
Tienson Qin
parent
836b1dad7e
commit
d1e595ff76
@@ -1,17 +0,0 @@
|
||||
(ns frontend.external
|
||||
(:require [frontend.external.roam :refer [->Roam]]
|
||||
[frontend.external.protocol :as protocol]))
|
||||
|
||||
(defonce roam-record (->Roam))
|
||||
|
||||
(defn get-record
|
||||
[type]
|
||||
(case type
|
||||
:roam
|
||||
roam-record
|
||||
nil))
|
||||
|
||||
(defn to-markdown-files
|
||||
[type content config]
|
||||
(when-let [record (get-record (keyword type))]
|
||||
(protocol/toMarkdownFiles record content config)))
|
||||
Reference in New Issue
Block a user