mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
Move config fns and remaining util fns that mldoc depends on
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
[lambdaisland.glogi :as log]
|
||||
[cljs-bean.core :as bean]
|
||||
[frontend.util :as util]
|
||||
[logseq.graph-parser.util :as gp-util]
|
||||
[frontend.text :as text]))
|
||||
|
||||
(defn diff
|
||||
@@ -54,7 +55,7 @@
|
||||
(+ pos 2)
|
||||
|
||||
(contains? inline-special-chars (util/nth-safe markup pos))
|
||||
(let [matched (->> (take-while inline-special-chars (util/safe-subs markup pos))
|
||||
(let [matched (->> (take-while inline-special-chars (gp-util/safe-subs markup pos))
|
||||
(apply str))
|
||||
matched? (and current-line (string/includes? current-line (string/reverse matched)))]
|
||||
(if matched?
|
||||
|
||||
Reference in New Issue
Block a user