- For example, here's a query with title text:
  {{query (property type book)}}
- test multilines in this page
- |markdown| table|
  |some|thing|
- block with props
  prop-num:: 10
- multiline block
  a 2nd
  and a 3rd
- DOING logbook block
  :LOGBOOK:
  CLOCK: [2024-08-07 Wed 11:47:50]
  CLOCK: [2024-08-07 Wed 11:47:53]
  :END:
- Text before
  query-table:: false
  query-properties:: [:block]
  #+BEGIN_QUERY
  {:title "tasks with todo and doing"
  :query (task todo doing)}
  #+END_QUERY
  Text after
- collapsed:: true
  #+BEGIN_QUERY
  {:title "⌛ Pretty print advanced query test"
    :query [:find (pull ?b [*])
       :in $ ?today
       :where
       [?b :block/page ?p]
       [?p :page/journal? true]
       [?p :page/journal-day ?jd]
       [(str ?jd) ?jds]
       [(subs ?jds 4 8) ?md1]
       [(str ?today) ?td]
       [(subs ?td 4 8) ?md2]
       [(= ?md1 ?md2)]
       [(< ?jd ?today)]
    ]
    :inputs [:today]
    :breadcrumb-show? true
    :collapsed? False
  }
  #+END_QUERY
- Get all tasks with a tag "project"
  #+BEGIN_SRC clojure
  #+BEGIN_QUERY
  {:title "All blocks with tag project"
    :query [:find (pull ?b [*])
            :where
            [?p :block/name "project"]
            [?b :block/refs ?p]]}
  #+END_QUERY
  #+END_SRC
- Find the blocks containing `tag2` but not `tag1`

  #+BEGIN_EXAMPLE
  {{query (and [[tag2]] (not [[tag1]]))}}
  #+END_EXAMPLE 