mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 07:05:10 +00:00
Better graph experience
This commit is contained in:
@@ -28,8 +28,12 @@
|
||||
(or
|
||||
(and
|
||||
(= typ "Search")
|
||||
(not (contains? #{\# \*} (first (second (:url (second block))))))
|
||||
(second (:url (second block))))
|
||||
(not (contains? #{\# \* \/ \( \[} (first (second (:url (second block))))))
|
||||
(let [page (second (:url (second block)))]
|
||||
(when (and (not (string/starts-with? page "http"))
|
||||
(not (string/starts-with? page "file"))
|
||||
(not (string/ends-with? page ".html")))
|
||||
page)))
|
||||
|
||||
(and
|
||||
(= typ "Complex")
|
||||
|
||||
Reference in New Issue
Block a user