mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
feat: org-mode heading id link support
This commit is contained in:
@@ -82,6 +82,13 @@
|
||||
(string/ends-with? (first arguments) "))"))
|
||||
(subs (first arguments) 2 (- (count (first arguments)) 2))))
|
||||
|
||||
(and (vector? block)
|
||||
(= "Link" (first block))
|
||||
(map? (second block))
|
||||
(= "id" (:protocol (second (:url (second block))))))
|
||||
|
||||
(:link (second (:url (second block))))
|
||||
|
||||
:else
|
||||
nil)]
|
||||
(when (and block-id
|
||||
|
||||
Reference in New Issue
Block a user