fix: :url property values with macros

Macros in :url are useful for having urls with a common hostname that
can be configured once. Without this fix, docs graph is invalid
This commit is contained in:
Gabriel Horner
2024-07-08 13:30:34 -04:00
parent 47cbe96126
commit 057d6b459f
5 changed files with 40 additions and 14 deletions

View File

@@ -262,9 +262,8 @@
;; input "{{poem red,blue}}"
;; becomes
;; Rose is red, violet's blue. Life's ordered: Org assists you.
;; TODO: test
;; :macros
;; {"docs-base-url" "https://docs.logseq.com/#/page/$1"}
:macros
{"docs-base-url" "https://docs.logseq.com/#/page/$1"}
;; Configure the default expansion level for linked references.
;; For example, consider the following block hierarchy: