fix: rm the last file-based namespaces in db dep

Also remove the following related file schema
attributes and their dependent code:
:block/marker, :block/priority, :block/scheduled,
:block/deadline,:block/repeated?, :block/pre-block?,
:block/properties-order, :block/properties-text-values, :block/macros,
:block/invalid-properties
This commit is contained in:
Gabriel Horner
2026-01-11 10:13:23 -05:00
parent ab137a962a
commit 4bb7430682
31 changed files with 166 additions and 371 deletions

View File

@@ -120,12 +120,10 @@ and handles unexpected failure."
(merge block
(parse-title-and-body (:block/uuid block)
(get block :block/format :markdown)
(:block/pre-block? block)
(:block/title block)))))
([_block-uuid format pre-block? content]
([_block-uuid format content]
(when-not (string/blank? content)
(let [content (if pre-block? content
(str (config/get-block-pattern format) " " (string/triml content)))]
(let [content (str (config/get-block-pattern format) " " (string/triml content))]
(cached-parse-title-and-body-helper format content)))))
(defn break-line-paragraph?