mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
Fix: Remove hidden task properties that weren't used (#6938)
* Remove task properties that weren't used - fix #6902 * Address feedback - remove unused marker
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
(defn marker-pattern [format]
|
||||
(re-pattern
|
||||
(str "^" (if (= format :markdown) "(#+\\s+)?" "(\\*+\\s+)?")
|
||||
"(NOW|LATER|TODO|DOING|DONE|WAITING|WAIT|CANCELED|CANCELLED|STARTED|IN-PROGRESS)?\\s?")))
|
||||
"(NOW|LATER|TODO|DOING|DONE|WAITING|WAIT|CANCELED|CANCELLED|IN-PROGRESS)?\\s?")))
|
||||
|
||||
(def bare-marker-pattern
|
||||
#"(NOW|LATER|TODO|DOING|DONE|WAITING|WAIT|CANCELED|CANCELLED|STARTED|IN-PROGRESS){1}\s+")
|
||||
#"(NOW|LATER|TODO|DOING|DONE|WAITING|WAIT|CANCELED|CANCELLED|IN-PROGRESS){1}\s+")
|
||||
|
||||
(defn add-or-update-marker
|
||||
[content format marker]
|
||||
|
||||
Reference in New Issue
Block a user