summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--journals/2023_06_18.md37
-rw-r--r--journals/2023_06_19.md34
-rw-r--r--journals/2023_06_20.md1
-rw-r--r--journals/2023_06_21.md1
-rw-r--r--journals/2023_06_22.md1
-rw-r--r--journals/2023_06_23.md4
-rw-r--r--journals/2023_06_24.md1
-rw-r--r--journals/2023_06_25.md1
-rw-r--r--journals/2023_06_26.md5
-rw-r--r--journals/2023_06_27.md1
-rw-r--r--journals/2023_06_28.md12
-rw-r--r--journals/2023_06_29.md12
-rw-r--r--journals/2023_06_30.md1
-rw-r--r--journals/2023_07_02.md1
-rw-r--r--logseq/bak/logseq/config/2023-06-18T01_43_49.862Z.Desktop.edn417
-rw-r--r--logseq/config.edn7
16 files changed, 529 insertions, 7 deletions
diff --git a/journals/2023_06_18.md b/journals/2023_06_18.md
index 45cb98c..cb35ca8 100644
--- a/journals/2023_06_18.md
+++ b/journals/2023_06_18.md
@@ -1,12 +1,39 @@
-- 从今天开始,我将使用 [[Logseq]] 来记录
+- 从今天开始,我将使用 [[Logseq]] 来记录,这是我的第一条记录
- 一些在国内速度不错的 [[Gravatar]] 头像源 [[网站]]
- - 1. [Cravatar](https://cravatar.cn/)
- - 2. [WeAvatar](https://weavatar.com/)
+ - [WeAvatar](https://weavatar.com/)
+ logseq.order-list-type:: number
+ - [Cravatar](https://cravatar.cn/)
+ logseq.order-list-type:: number
- [[React]] 学习 [[笔记]]
- - 01 -[[JSX]] 与 [[HTML]]
+ - 01. [[JSX]] 与 [[HTML]]
- 只有一个根标签(元素),可以使用「幽灵标签」
- 每个标签都需要闭合
- class -> className
- style -> 对象,首字母小写,属性名驼峰命名
- label 的 for 属性 -> htmlFor
- - 单个单词属性名不变,多个单词属性名驼峰命名 \ No newline at end of file
+ - 单个单词属性名不变,多个单词属性名驼峰命名
+- [[Hugo]] [[短代码]] 想法
+ - DONE 货币转换
+ :LOGBOOK:
+ CLOCK: [2023-06-18 Sun 10:12:39]--[2023-06-18 Sun 10:12:41] => 00:00:02
+ CLOCK: [2023-06-18 Sun 10:12:51]--[2023-06-18 Sun 10:12:53] => 00:00:02
+ :END:
+ - 使用示例:`{{<rate "10.11" "dollars">}}`
+ - LATER 嵌入 cgit 代码片段
+ :LOGBOOK:
+ CLOCK: [2023-06-18 Sun 10:12:42]--[2023-06-18 Sun 10:12:43] => 00:00:01
+ CLOCK: [2023-06-18 Sun 10:12:44]--[2023-06-18 Sun 10:12:44] => 00:00:00
+ CLOCK: [2023-06-18 Sun 10:12:47]--[2023-06-18 Sun 10:12:48] => 00:00:01
+ :END:
+ - 示例网址:`https://git.xvo.es/` 是一个 cgit 服务网址(在短代码里定义)
+ - 示例文件:`https://git.xvo.es/self-hosted/plain/cgit/cgit.css`
+ - 存储库:`self-hosted`
+ - 文件路径:`cgit/cgit.css`
+ - 使用示例:`{<cgit "self-hosted" "cgit/cgit.css" "css">}`
+ - 拼接出示例 URL 并使用 Hugo 代码块渲染
+- [[JavaScript]] [[笔记]]
+ - 模板字符串(Template Literals/Strings)的两个好处
+ - 保留字符串的原始格式
+ logseq.order-list-type:: number
+ - 可以使用 JS 中的变量和表达式
+ logseq.order-list-type:: number \ No newline at end of file
diff --git a/journals/2023_06_19.md b/journals/2023_06_19.md
new file mode 100644
index 0000000..8508ff4
--- /dev/null
+++ b/journals/2023_06_19.md
@@ -0,0 +1,34 @@
+- 升级使用 #Docker 部署的 #Plausible
+ collapsed:: true
+ - 重新升级 v1.5 https://github.com/plausible/analytics/releases/tag/v1.5.1
+ - ```bash
+ cd plausible
+ sudo docker compose down
+ cd ..
+ sudo cp -r plausible plausible-bak
+ ```
+ - 删除环境变量
+ - ```diff
+ - ADMIN_USER_EMAIL=replace-me
+ - ADMIN_USER_NAME=replace-me
+ - ADMIN_USER_PWD=replace-me
+ - DISABLE_AUTH=true
+ BASE_URL=replace-me
+ SECRET_KEY_BASE=replace-me
+ ```
+ - 修改 docker-compose.yml 启动命令
+ - ```diff
+ plausible:
+ image: plausible/analytics:v1.5.1
+ - command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run"
+ + command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
+ ```
+ - 重启容器
+ - ```bash
+ sudo docker compose stop plausible plausible_events_db
+ sudo docker compose rm plausible_events_db
+ sudo docker compose up -d
+ ```
+ - 升级到 v2.0.0 rc.2 https://github.com/plausible/analytics/releases/tag/v2.0.0-rc.2
+ -
+- #前端库 [RadixUI](https://www.radix-ui.com/)、[ChakraUI](https://chakra-ui.com/)、[HeadlessUI](https://headlessui.com/) \ No newline at end of file
diff --git a/journals/2023_06_20.md b/journals/2023_06_20.md
new file mode 100644
index 0000000..9a759e7
--- /dev/null
+++ b/journals/2023_06_20.md
@@ -0,0 +1 @@
+- 我正在学习使用 Typst 写作,在此之前我没写过 Latex https://typst.app/ \ No newline at end of file
diff --git a/journals/2023_06_21.md b/journals/2023_06_21.md
new file mode 100644
index 0000000..09364ab
--- /dev/null
+++ b/journals/2023_06_21.md
@@ -0,0 +1 @@
+- 今天啥也没干 \ No newline at end of file
diff --git a/journals/2023_06_22.md b/journals/2023_06_22.md
new file mode 100644
index 0000000..09364ab
--- /dev/null
+++ b/journals/2023_06_22.md
@@ -0,0 +1 @@
+- 今天啥也没干 \ No newline at end of file
diff --git a/journals/2023_06_23.md b/journals/2023_06_23.md
new file mode 100644
index 0000000..2c8a6f3
--- /dev/null
+++ b/journals/2023_06_23.md
@@ -0,0 +1,4 @@
+- [[周报]] No.6
+ - https://github.com/pmkol/easymosdns
+ - https://github.com/ncarlier/feedpushr
+ - https://github.com/georgemandis/bubo-rss \ No newline at end of file
diff --git a/journals/2023_06_24.md b/journals/2023_06_24.md
new file mode 100644
index 0000000..09364ab
--- /dev/null
+++ b/journals/2023_06_24.md
@@ -0,0 +1 @@
+- 今天啥也没干 \ No newline at end of file
diff --git a/journals/2023_06_25.md b/journals/2023_06_25.md
new file mode 100644
index 0000000..09364ab
--- /dev/null
+++ b/journals/2023_06_25.md
@@ -0,0 +1 @@
+- 今天啥也没干 \ No newline at end of file
diff --git a/journals/2023_06_26.md b/journals/2023_06_26.md
new file mode 100644
index 0000000..19739f8
--- /dev/null
+++ b/journals/2023_06_26.md
@@ -0,0 +1,5 @@
+- [[周报]] No.6
+ - 开源简历生成器解析器 https://news.ycombinator.com/item?id=36470297
+ - https://news.ycombinator.com/item?id=36475949
+ - https://news.ycombinator.com/item?id=36469297
+ - https://news.ycombinator.com/item?id=36472854 \ No newline at end of file
diff --git a/journals/2023_06_27.md b/journals/2023_06_27.md
new file mode 100644
index 0000000..09364ab
--- /dev/null
+++ b/journals/2023_06_27.md
@@ -0,0 +1 @@
+- 今天啥也没干 \ No newline at end of file
diff --git a/journals/2023_06_28.md b/journals/2023_06_28.md
new file mode 100644
index 0000000..98dd262
--- /dev/null
+++ b/journals/2023_06_28.md
@@ -0,0 +1,12 @@
+- 离开学校,今天到了北京
+- 明天即将面试公司 - 数字联盟(BOSS 直聘)
+ - 熟悉 HTML CSS JS
+ - 熟练 React
+ - HTTP 协议
+ - ChatGPT
+- 后天即将面试公司 - 薪八达(拉钩招聘)
+ - HTML CSS JS
+ - React Redux
+ - Nodejs Koa Express
+ - GraphQL
+ - 前端动效 特效 \ No newline at end of file
diff --git a/journals/2023_06_29.md b/journals/2023_06_29.md
new file mode 100644
index 0000000..a887169
--- /dev/null
+++ b/journals/2023_06_29.md
@@ -0,0 +1,12 @@
+- 今天 **数字联盟** 面试结束了
+ - 面试官和技术主管都很好,礼貌且耐心
+ - 我很不好,我最近一点 JS 算法也没刷,很多基础排序、查找都没做出来
+ - 我很不好,我把 JS 最基础的数组方法和对象方法都没答全
+ - 我觉得这个应该 G 了
+ - 对不起
+ - 题目大概是四五个:
+ - 给定两个数组,去重合并
+ - 字符串转小驼峰
+ - 给定字符串,查找其中出现次数最多的字母并输出次数
+ - 给定一个数组,找出数组中最大的三个数
+ - \ No newline at end of file
diff --git a/journals/2023_06_30.md b/journals/2023_06_30.md
new file mode 100644
index 0000000..09364ab
--- /dev/null
+++ b/journals/2023_06_30.md
@@ -0,0 +1 @@
+- 今天啥也没干 \ No newline at end of file
diff --git a/journals/2023_07_02.md b/journals/2023_07_02.md
new file mode 100644
index 0000000..09364ab
--- /dev/null
+++ b/journals/2023_07_02.md
@@ -0,0 +1 @@
+- 今天啥也没干 \ No newline at end of file
diff --git a/logseq/bak/logseq/config/2023-06-18T01_43_49.862Z.Desktop.edn b/logseq/bak/logseq/config/2023-06-18T01_43_49.862Z.Desktop.edn
new file mode 100644
index 0000000..7c185f4
--- /dev/null
+++ b/logseq/bak/logseq/config/2023-06-18T01_43_49.862Z.Desktop.edn
@@ -0,0 +1,417 @@
+{:meta/version 1
+
+ ;; Set the preferred format.
+ ;; Available options:
+ ;; - Markdown (default)
+ ;; - Org
+ ;; :preferred-format "Markdown"
+
+ ;; Set the preferred workflow style.
+ ;; Available options:
+ ;; - :now for NOW/LATER style (default)
+ ;; - :todo for TODO/DOING style
+ :preferred-workflow :now
+
+ ;; Exclude directories/files.
+ ;; Example usage:
+ ;; :hidden ["/archived" "/test.md" "../assets/archived"]
+ :hidden []
+
+ ;; Define the default journal page template.
+ ;; Enter the template name between the quotes.
+ :default-templates
+ {:journals ""}
+
+ ;; Set a custom date format for the journal page title.
+ ;; Default value: "MMM do, yyyy"
+ ;; e.g., "Jan 19th, 2038"
+ ;; Example usage e.g., "Tue 19th, Jan 2038"
+ ;; :journal/page-title-format "EEE do, MMM yyyy"
+
+ ;; Specify the journal filename format using a valid date format string.
+ ;; !Warning:
+ ;; This configuration is not retroactive and affects only new journals.
+ ;; To show old journal files in the app, manually rename the files in the
+ ;; journal directory to match the new format.
+ ;; Default value: "yyyy_MM_dd"
+ ;; :journal/file-name-format "yyyy_MM_dd"
+
+ ;; Enable tooltip preview on hover.
+ ;; Default value: true
+ :ui/enable-tooltip? true
+
+ ;; Display brackets [[]] around page references.
+ ;; Default value: true
+ ;; :ui/show-brackets? true
+
+ ;; Display all lines of a block when referencing ((block)).
+ ;; Default value: false
+ :ui/show-full-blocks? false
+
+ ;; Automatically expand block references when zooming in.
+ ;; Default value: true
+ :ui/auto-expand-block-refs? true
+
+ ;; Enable Block timestamps.
+ ;; Default value: false
+ :feature/enable-block-timestamps? false
+
+ ;; Disable accent marks when searching.
+ ;; After changing this setting, rebuild the search index by pressing (^C ^S).
+ ;; Default value: true
+ :feature/enable-search-remove-accents? true
+
+ ;; Enable journals.
+ ;; Default value: true
+ ;; :feature/enable-journals? true
+
+ ;; Enable flashcards.
+ ;; Default value: true
+ ;; :feature/enable-flashcards? true
+
+ ;; Enable whiteboards.
+ ;; Default value: true
+ ;; :feature/enable-whiteboards? true
+
+ ;; Disable the journal's built-in 'Scheduled tasks and deadlines' query.
+ ;; Default value: false
+ ;; :feature/disable-scheduled-and-deadline-query? false
+
+ ;; Specify the number of days displayed in the future for
+ ;; the 'scheduled tasks and deadlines' query.
+ ;; Example usage:
+ ;; Display all scheduled and deadline blocks for the next 14 days:
+ ;; :scheduled/future-days 14
+ ;; Default value: 7
+ ;; :scheduled/future-days 7
+
+ ;; Specify the first day of the week.
+ ;; Available options:
+ ;; - integer from 0 to 6 (Monday to Sunday)
+ ;; Default value: 6 (Sunday)
+ :start-of-week 6
+
+ ;; Specify a custom CSS import.
+ ;; This option takes precedence over the local `logseq/custom.css` file.
+ ;; Example usage:
+ ;; :custom-css-url "@import url('https://cdn.jsdelivr.net/gh/dracula/logseq@master/custom.css');"
+
+ ;; Specify a custom JS import.
+ ;; This option takes precedence over the local `logseq/custom.js` file.
+ ;; Example usage:
+ ;; :custom-js-url "https://cdn.logseq.com/custom.js"
+
+ ;; Set a custom Arweave gateway
+ ;; Default gateway: https://arweave.net
+ ;; :arweave/gateway "https://arweave.net"
+
+ ;; Set bullet indentation when exporting
+ ;; Available options:
+ ;; - `:eight-spaces` as eight spaces
+ ;; - `:four-spaces` as four spaces
+ ;; - `:two-spaces` as two spaces
+ ;; - `:tab` as a tab character (default)
+ ;; :export/bullet-indentation :tab
+
+ ;; Publish all pages within the Graph
+ ;; Regardless of whether individual pages have been marked as public.
+ ;; Default value: false
+ ;; :publishing/all-pages-public? false
+
+ ;; Define the default home page and sidebar status.
+ ;; If unspecified, the journal page will be loaded on startup and the right sidebar will stay hidden.
+ ;; The `:page` value represents the name of the page displayed at startup.
+ ;; Available options for `:sidebar` are:
+ ;; - "Contents" to display the Contents page in the right sidebar.
+ ;; - A specific page name to display in the right sidebar.
+ ;; - An array of multiple pages, e.g., ["Contents" "Page A" "Page B"].
+ ;; If `:sidebar` remains unset, the right sidebar will stay hidden.
+ ;; Examples:
+ ;; 1. Set "Changelog" as the home page and display "Contents" in the right sidebar:
+ ;; :default-home {:page "Changelog", :sidebar "Contents"}
+ ;; 2. Set "Jun 3rd, 2021" as the home page without the right sidebar:
+ ;; :default-home {:page "Jun 3rd, 2021"}
+ ;; 3. Set "home" as the home page and display multiple pages in the right sidebar:
+ ;; :default-home {:page "home", :sidebar ["Page A" "Page B"]}
+
+ ;; Set the default location for storing notes.
+ ;; Default value: "pages"
+ ;; :pages-directory "pages"
+
+ ;; Set the default location for storing journals.
+ ;; Default value: "journals"
+ ;; :journals-directory "journals"
+
+ ;; Set the default location for storing whiteboards.
+ ;; Default value: "whiteboards"
+ ;; :whiteboards-directory "whiteboards"
+
+ ;; Enabling this option converts
+ ;; [[Grant Ideas]] to [[file:./grant_ideas.org][Grant Ideas]] for org-mode.
+ ;; For more information, visit https://github.com/logseq/logseq/issues/672
+ ;; :org-mode/insert-file-link? false
+
+ ;; Configure custom shortcuts.
+ ;; Syntax:
+ ;; 1. + indicates simultaneous key presses, e.g., `Ctrl+Shift+a`.
+ ;; 2. A space between keys represents key chords, e.g., `t s` means
+ ;; pressing `t` followed by `s`.
+ ;; 3. mod refers to `Ctrl` for Windows/Linux and `Command` for Mac.
+ ;; 4. Use false to disable a specific shortcut.
+ ;; 5. You can define multiple bindings for a single action, e.g., ["ctrl+j" "down"].
+ ;; The full list of configurable shortcuts is available at:
+ ;; https://github.com/logseq/logseq/blob/master/src/main/frontend/modules/shortcut/config.cljs
+ ;; Example:
+ ;; :shortcuts
+ ;; {:editor/new-block "enter"
+ ;; :editor/new-line "shift+enter"
+ ;; :editor/insert-link "mod+shift+k"
+ ;; :editor/highlight false
+ ;; :ui/toggle-settings "t s"
+ ;; :editor/up ["ctrl+k" "up"]
+ ;; :editor/down ["ctrl+j" "down"]
+ ;; :editor/left ["ctrl+h" "left"]
+ ;; :editor/right ["ctrl+l" "right"]}
+ :shortcuts {:command/run "shift+meta+g"}
+
+ ;; Configure the behavior of pressing Enter in document mode.
+ ;; if set to true, pressing Enter will create a new block.
+ ;; Default value: false
+ :shortcut/doc-mode-enter-for-new-block? false
+
+ ;; Block content larger than `block/content-max-length` will not be searchable
+ ;; or editable for performance.
+ ;; Default value: 10000
+ :block/content-max-length 10000
+
+ ;; Display command documentation on hover.
+ ;; Default value: true
+ :ui/show-command-doc? true
+
+ ;; Display empty bullet points.
+ ;; Default value: false
+ :ui/show-empty-bullets? false
+
+ ;; Pre-defined :view function to use with advanced queries.
+ :query/views
+ {:pprint
+ (fn [r] [:pre.code (pprint r)])}
+
+ ;; Advanced queries `:result-transform` function.
+ ;; Transform the query result before displaying it.
+ :query/result-transforms
+ {:sort-by-priority
+ (fn [result] (sort-by (fn [h] (get h :block/priority "Z")) result))}
+
+ ;; The following queries will be displayed at the bottom of today's journal page.
+ ;; The "NOW" query returns tasks with "NOW" or "DOING" status.
+ ;; The "NEXT" query returns tasks with "NOW", "LATER", or "TODO" status.
+ :default-queries
+ {:journals
+ [{:title "🔨 NOW"
+ :query [:find (pull ?h [*])
+ :in $ ?start ?today
+ :where
+ [?h :block/marker ?marker]
+ [(contains? #{"NOW" "DOING"} ?marker)]
+ [?h :block/page ?p]
+ [?p :block/journal? true]
+ [?p :block/journal-day ?d]
+ [(>= ?d ?start)]
+ [(<= ?d ?today)]]
+ :inputs [:14d :today]
+ :result-transform (fn [result]
+ (sort-by (fn [h]
+ (get h :block/priority "Z")) result))
+ :group-by-page? false
+ :collapsed? false}
+ {:title "📅 NEXT"
+ :query [:find (pull ?h [*])
+ :in $ ?start ?next
+ :where
+ [?h :block/marker ?marker]
+ [(contains? #{"NOW" "LATER" "TODO"} ?marker)]
+ [?h :block/page ?p]
+ [?p :block/journal? true]
+ [?p :block/journal-day ?d]
+ [(> ?d ?start)]
+ [(< ?d ?next)]]
+ :inputs [:today :7d-after]
+ :group-by-page? false
+ :collapsed? false}]}
+
+ ;; Add custom commands to the command palette
+ ;; Example usage:
+ ;; :commands
+ ;; [
+ ;; ["js" "Javascript"]
+ ;; ["md" "Markdown"]
+ ;; ]
+ :commands []
+
+ ;; Enable collapsing blocks with titles but no children.
+ ;; By default, only blocks with children can be collapsed.
+ ;; Setting `:outliner/block-title-collapse-enabled?` to true allows collapsing
+ ;; blocks with titles (multiple lines) and content. For example:
+ ;; - block title
+ ;; block content
+ ;; Default value: false
+ :outliner/block-title-collapse-enabled? false
+
+ ;; Macros replace texts and will make you more productive.
+ ;; Example usage:
+ ;; Change the :macros value below to:
+ ;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."}
+ ;; input "{{poem red,blue}}"
+ ;; becomes
+ ;; Rose is red, violet's blue. Life's ordered: Org assists you.
+ :macros {}
+
+ ;; Configure the default expansion level for linked references.
+ ;; For example, consider the following block hierarchy:
+ ;; - a [[page]] (level 1)
+ ;; - b (level 2)
+ ;; - c (level 3)
+ ;; - d (level 4)
+ ;;
+ ;; With the default value of level 2, block b will be collapsed.
+ ;; If the level's value is set to 3, block c will be collapsed.
+ ;; Default value: 2
+ :ref/default-open-blocks-level 2
+
+ ;; Configure the threshold for linked references before collapsing.
+ ;; Default value: 100
+ :ref/linked-references-collapsed-threshold 50
+
+ ;; Graph view configuration.
+ ;; Example usage:
+ ;; :graph/settings
+ ;; {:orphan-pages? true ; Default value: true
+ ;; :builtin-pages? false ; Default value: false
+ ;; :excluded-pages? false ; Default value: false
+ ;; :journal? false} ; Default value: false
+
+ ;; Favorites to list on the left sidebar
+ :favorites []
+
+ ;; Set flashcards interval.
+ ;; Expected value:
+ ;; - Float between 0 and 1
+ ;; higher values result in faster changes to the next review interval.
+ ;; Default value: 0.5
+ ;; :srs/learning-fraction 0.5
+
+ ;; Set the initial interval after the first successful review of a card.
+ ;; Default value: 4
+ ;; :srs/initial-interval 4
+
+ ;; Hide specific block properties.
+ ;; Example usage:
+ ;; :block-hidden-properties #{:public :icon}
+
+ ;; Create a page for all properties.
+ ;; Default value: true
+ :property-pages/enabled? true
+
+ ;; Properties to exclude from having property pages
+ ;; Example usage:
+ ;; :property-pages/excludelist #{:duration :author}
+
+ ;; By default, property value separated by commas will not be treated as
+ ;; page references. You can add properties to enable it.
+ ;; Example usage:
+ ;; :property/separated-by-commas #{:alias :tags}
+
+ ;; Properties that are ignored when parsing property values for references
+ ;; Example usage:
+ ;; :ignored-page-references-keywords #{:author :website}
+
+ ;; logbook configuration.
+ ;; :logbook/settings
+ ;; {:with-second-support? false ;limit logbook to minutes, seconds will be eliminated
+ ;; :enabled-in-all-blocks true ;display logbook in all blocks after timetracking
+ ;; :enabled-in-timestamped-blocks false ;don't display logbook at all
+ ;; }
+
+ ;; Mobile photo upload configuration.
+ ;; :mobile/photo
+ ;; {:allow-editing? true
+ ;; :quality 80}
+
+ ;; Mobile features options
+ ;; Gestures
+ ;; Example usage:
+ ;; :mobile
+ ;; {:gestures/disabled-in-block-with-tags ["kanban"]}
+
+ ;; Extra CodeMirror options
+ ;; See https://codemirror.net/5/doc/manual.html#config for possible options
+ ;; Example usage:
+ ;; :editor/extra-codemirror-options
+ ;; {:lineWrapping false ; Default value: false
+ ;; :lineNumbers true ; Default value: true
+ ;; :readOnly false} ; Default value: false
+
+ ;; Enable logical outdenting
+ ;; Default value: false
+ ;; :editor/logical-outdenting? false
+
+ ;; Prefer pasting the file when text and a file are in the clipboard.
+ ;; Default value: false
+ ;; :editor/preferred-pasting-file? false
+
+ ;; Quick capture templates for receiving content from other apps.
+ ;; Each template contains three elements {time}, {text} and {url}, which can be auto-expanded
+ ;; by receiving content from other apps. Note: the {} cannot be omitted.
+ ;; - {time}: capture time
+ ;; - {date}: capture date using current date format, use `[[{date}]]` to get a page reference
+ ;; - {text}: text that users selected before sharing.
+ ;; - {url}: URL or assets path for media files stored in Logseq.
+ ;; You can also reorder them or use only one or two of them in the template.
+ ;; You can also insert or format any text in the template, as shown in the following examples.
+ ;; :quick-capture-templates
+ ;; {:text "[[quick capture]] **{time}**: {text} from {url}"
+ ;; :media "[[quick capture]] **{time}**: {url}"}
+
+ ;; Quick capture options.
+ ;; - insert-today? Insert the capture at the end of today's journal page (boolean).
+ ;; - redirect-page? Redirect to the quick capture page after capturing (boolean).
+ ;; - default-page The default page to capture to if insert-today? is false (string).
+ ;; :quick-capture-options
+ ;; {:insert-today? false ;; Default value: true
+ ;; :redirect-page? false ;; Default value: false
+ ;; :default-page "quick capture"} ;; Default page: "quick capture"
+
+ ;; File sync options
+ ;; Ignore these files when syncing, regexp is supported.
+ ;; :file-sync/ignore-files []
+
+ ;; Configure the Enter key behavior for
+ ;; context-aware editing with DWIM (Do What I Mean).
+ ;; context-aware Enter key behavior implies that pressing Enter will
+ ;; have different outcomes based on the context.
+ ;; For instance, pressing Enter within a list generates a new list item,
+ ;; whereas pressing Enter in a block reference opens the referenced block.
+ ;; :dwim/settings
+ ;; {:admonition&src? true ;; Default value: true
+ ;; :markup? false ;; Default value: false
+ ;; :block-ref? true ;; Default value: true
+ ;; :page-ref? true ;; Default value: true
+ ;; :properties? true ;; Default value: true
+ ;; :list? false} ;; Default value: false
+
+ ;; Configure the escaping method for special characters in page titles.
+ ;; Warning:
+ ;; This is a dangerous operation. To modify the setting,
+ ;; access the 'Filename format' setting and follow the instructions.
+ ;; Otherwise, You may need to manually rename all affected files and
+ ;; re-index them on all clients after synchronization.
+ ;; Incorrect handling may result in messy page titles.
+ ;; Available options:
+ ;; - :triple-lowbar (default)
+ ;; ;use triple underscore `___` for slash `/` in page title
+ ;; ;use Percent-encoding for other invalid characters
+ :file/name-format :triple-lowbar
+ :editor/preferred-pasting-file? true
+ :publishing/all-pages-public? true
+ :graph/settings {:journal? true}}
diff --git a/logseq/config.edn b/logseq/config.edn
index 49bb34f..f1dd771 100644
--- a/logseq/config.edn
+++ b/logseq/config.edn
@@ -172,7 +172,7 @@
;; :editor/down ["ctrl+j" "down"]
;; :editor/left ["ctrl+h" "left"]
;; :editor/right ["ctrl+l" "right"]}
- :shortcuts {}
+ :shortcuts {:command/run "shift+meta+1"}
;; Configure the behavior of pressing Enter in document mode.
;; if set to true, pressing Enter will create a new block.
@@ -411,4 +411,7 @@
;; - :triple-lowbar (default)
;; ;use triple underscore `___` for slash `/` in page title
;; ;use Percent-encoding for other invalid characters
- :file/name-format :triple-lowbar}
+ :file/name-format :triple-lowbar
+ :editor/preferred-pasting-file? true
+ :publishing/all-pages-public? true
+ :graph/settings {:journal? true}}