├── logseq ├── custom.css ├── metadata.edn └── config.edn ├── journals ├── 2021_12_29.org └── 2021_05_16.org ├── README.md └── pages └── contents.org /logseq/custom.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logseq/metadata.edn: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /journals/2021_12_29.org: -------------------------------------------------------------------------------- 1 | * New York 2 | ** New Jersey 3 | ** -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # logseqtestrepo 2 | A repo for testing with logseq. 3 | -------------------------------------------------------------------------------- /pages/contents.org: -------------------------------------------------------------------------------- 1 | ** What's **Contents**? 2 | *** It's a normal page called [[Contents]], you can use it for: 3 | **** 1. table of content/index/MOC 4 | **** 2. pinning/bookmarking favorites pages/blocks (e.g. [[Logseq]]) 5 | **** 3. You can also put many different things, depending on your personal workflow. -------------------------------------------------------------------------------- /journals/2021_05_16.org: -------------------------------------------------------------------------------- 1 | #+TITLE: May 16th, 2021 2 | 3 | ** I'm dreaming of a white christmas 4 | *** lalalalalalalala 5 | ** This is a test 6 | *** For the next sixty seconds 7 | *** this station will conduct a test 8 | *** of the emergency broadcast system 9 | ** Had this been an actual emergency 10 | *** you would have been instructed 11 | *** to tune to a local station 12 | *** for news and other information -------------------------------------------------------------------------------- /logseq/config.edn: -------------------------------------------------------------------------------- 1 | {;; Currently, we support either "Markdown" or "Org". 2 | ;; This can overwrite your global preference so that 3 | ;; maybe your personal preferred format is Org but you'd 4 | ;; need to use Markdown for some projects. 5 | ;; :preferred-format "" 6 | 7 | ;; Preferred workflow style. 8 | ;; Value is either ":now" for NOW/LATER style, 9 | ;; or ":todo" for TODO/DOING style. 10 | :preferred-workflow :now 11 | 12 | ;; Git settings 13 | :git-pull-secs 60 14 | :git-push-secs 10 15 | :git-auto-push true 16 | 17 | ;; The app will ignore those directories or files. 18 | ;; E.g. "/archived" "/test.md" 19 | :hidden [] 20 | 21 | ;; When creating the new journal page, the app will use your template content here. 22 | ;; Example for Markdown users: "## [[Work]]\n###\n## [[Family]]\n###\n 23 | ;; Example for Org mode users: "** [[Work]]\n***\n** [[Family]]\n***\n 24 | :default-templates 25 | {:journals ""} 26 | 27 | ;; The app will show those queries in today's journal page, 28 | ;; the "NOW" query asks the tasks which need to be finished "now", 29 | ;; the "NEXT" query asks the future tasks. 30 | :default-queries 31 | {:journals 32 | [{:title "🔨 NOW" 33 | :query [:find (pull ?h [*]) 34 | :in $ ?start ?today 35 | :where 36 | [?h :block/marker ?marker] 37 | [?h :block/page ?p] 38 | [?p :page/journal? true] 39 | [?p :page/journal-day ?d] 40 | [(>= ?d ?start)] 41 | [(<= ?d ?today)] 42 | [(contains? #{"NOW" "DOING"} ?marker)]] 43 | :inputs [:14d :today] 44 | :result-transform (fn [result] 45 | (sort-by (fn [h] 46 | (get h :block/priority "Z")) result)) 47 | :collapsed? false} 48 | {:title "📅 NEXT" 49 | :query [:find (pull ?h [*]) 50 | :in $ ?start ?next 51 | :where 52 | [?h :block/marker ?marker] 53 | [?h :block/ref-pages ?p] 54 | [?p :page/journal? true] 55 | [?p :page/journal-day ?d] 56 | [(> ?d ?start)] 57 | [(< ?d ?next)] 58 | [(contains? #{"NOW" "LATER" "TODO"} ?marker)]] 59 | :inputs [:today :7d-after] 60 | :collapsed? false}]} 61 | 62 | ;; Add your own commands to speedup. 63 | ;; E.g. [["js" "Javascript"]] 64 | :commands 65 | [] 66 | 67 | ;; Macros replace texts and will make you more productive. 68 | ;; For example: 69 | ;; Add this to the macros below: 70 | ;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."} 71 | ;; input "{{{poem red,blue}}}" 72 | ;; becomes 73 | ;; Rose is red, violet's blue. Life's ordered: Org assists you. 74 | :macros {}} 75 | --------------------------------------------------------------------------------