diff --git a/.vscode/settings.json b/.vscode/settings.json index d497abc..1a40391 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,11 +15,11 @@ }, "foam.edit.linkReferenceDefinitions": "off", "foam.openDailyNote.directory": "journal", - "foam.openDailyNote.titleFormat": "fullDate", + "foam.openDailyNote.titleFormat": "isoUtcDateTime", "git.enableSmartCommit": true, "git.postCommitCommand": "sync", "markdown.preview.breaks": true, - "pasteImage.path": "${projectRoot}/attachments", + "pasteImage.path": "${currentFileDir}/images", "pasteImage.showFilePathConfirmInputBox": true, "prettier.singleQuote": false, } diff --git a/attachments/foam-icon.png b/attachments/foam-icon.png deleted file mode 100644 index 03c8d50..0000000 Binary files a/attachments/foam-icon.png and /dev/null differ diff --git a/docs/how-to/use-keyboard-shortcuts-for-editing.md b/docs/how-to/use-keyboard-shortcuts-for-editing.md index 36bda21..c36ff5b 100644 --- a/docs/how-to/use-keyboard-shortcuts-for-editing.md +++ b/docs/how-to/use-keyboard-shortcuts-for-editing.md @@ -5,39 +5,39 @@ Here are some keyboard shortcuts you'll love when editing your notes. This works best if you can see the result in the preview panel, run the `Markdown: Open Preview to the Side` command. -- [ ] `alt+c` changes state to a TODO item. Try it while the cursor is on this line. +- [x] `alt+c` changes state to a TODO item. Try it while the cursor is on this line. --- -- [ ] `cmd+b` makes the selection bold. Select me and make me bold. +- [x] `cmd+b` makes the selection bold. **Select me and make me bold.** --- -- [ ] `cmd+i` makes the selection italic. Select me and make me italic. +- [x] `cmd+i` makes the selection italic. *Select me and make me italic.* --- -- [ ] `alt+shift+f` formats a table. Place the cursor in the table below and format the table. +- [x] `alt+shift+f` formats a table. Place the cursor in the table below and format the table. -| column 1 | column 2| -|-|-| -| one element | another element| -| second row| last cell| +| column 1 | column 2 | +| ----------- | --------------- | +| one element | another element | +| second row | last cell | --- -- [ ] Paste link on selected text +- [x] Paste link on selected text 1. copy the following text: https://google.com - 2. select me and paste + 2. [select me and paste](https://google.com) --- -- [ ] Search in your repo with `cmd+shift+f`: type "search" +- [x] Search in your repo with `cmd+shift+f`: type "search" - (go back to the file explorer with `cmd+shift+e`) --- -- [ ] Paste an image +- [x] Paste an image 1. copy an image 2. move your cursor to the next line, then press `cmd+alt+v` and confirm the name of the file 3. . diff --git a/getting-started.md b/getting-started.md index 76297fe..e2ea805 100644 --- a/getting-started.md +++ b/getting-started.md @@ -6,35 +6,35 @@ Welcome to your new foam workspace, let's get you started. Let's go through this to set up your repo: -- [ ] if you are new with VS Code, see how to [[get-started-with-vscode]] and how to [[use-keyboard-shortcuts-for-editing]] +- [x] if you are new with VS Code, see how to [[get-started-with-vscode]] and how to [[use-keyboard-shortcuts-for-editing]] -- [ ] you can navigate the links between your notes by `cmd+click` (or `ctrl+click` on Windows) on a wikilink. You can go back with `ctrl+-`. Here, go to your [[inbox]] +- [x] you can navigate the links between your notes by `cmd+click` (or `ctrl+click` on Windows) on a wikilink. You can go back with `ctrl+-`. Here, go to your [[inbox]] -- [ ] to see how your notes are connected, execute the `Foam: Show Graph` command. See [[graph-visualization]]. +- [x] to see how your notes are connected, execute the `Foam: Show Graph` command. See [[graph-visualization]]. -- [ ] #tags can be used to further organize your content. Look at the `Tag Explorer` view on the left panel to find and navigate the tags in your knowledge base. See [[tags-and-tag-explorer]]. +- [x] #tags can be used to further organize your content. Look at the `Tag Explorer` view on the left panel to find and navigate the tags in your knowledge base. See [[tags-and-tag-explorer]]. -- [ ] Foam supports [[spell-checking]]. +- [x] Foam supports [[spell-checking]]. -- [ ] You can also paste images in your Foam, just press `cmd+alt+v` to create the image file and link to it from your note. See [[paste-images-from-clipboard]]. +- [x] You can also paste images in your Foam, just press `cmd+alt+v` to create the image file and link to it from your note. See [[paste-images-from-clipboard]]. -- [ ] You can use Foam for your daily notes, or journaling. Execute now the `Foam: Open Daily Note` command to create a new file in your `journal` folder. See [[daily-notes]]. +- [x] You can use Foam for your daily notes, or journaling. Execute now the `Foam: Open Daily Note` command to create a new file in your `journal` folder. See [[daily-notes]]. -- [ ] Want to see how to manage your tasks? Go to the [[todo]] note +- [x] Want to see how to manage your tasks? Go to the [[todo]] note -- [ ] The section at the end of this file contains wikilink definitions, which enable navigation of your notes from GitHub's web UI, and in general to make `[[wikilinks]]` understood by any Markdown parser. See [[link-reference-definitions]]. +- [x] The section at the end of this file contains wikilink definitions, which enable navigation of your notes from GitHub's web UI, and in general to make `[[wikilinks]]` understood by any Markdown parser. See [[link-reference-definitions]]. -- [ ] To explore all the Foam settings, press `cmd+,`, then `Extensions > Foam` +- [x] To explore all the Foam settings, press `cmd+,`, then `Extensions > Foam` -- [ ] Living within VS Code, Foam can be customized in many ways! Look at the [Foam Recipes](https://foambubble.github.io/foam/recipes/recipes) for ideas! +- [x] Living within VS Code, Foam can be customized in many ways! Look at the [Foam Recipes](https://foambubble.github.io/foam/recipes/recipes) for ideas! -- [ ] Join the [Foam community on Discord](https://foambubble.github.io/join-discord/e), introduce yourself and leave a message on how you found Foam and how the onboarding went :) We are always keen to do better +- [x] ~~Join the [Foam community on Discord](https://foambubble.github.io/join-discord/e), introduce yourself and leave a message on how you found Foam and how the onboarding went :) We are always keen to do better~~ -- [ ] Take the [Foam Welcome survey](http://foambubble.github.io/welcome-survey/e)! It helps us better understand your need and how we can make Foam better and better for you :) +- [x] ~~Take the [Foam Welcome survey](http://foambubble.github.io/welcome-survey/e)! It helps us better understand your need and how we can make Foam better and better for you :)~~ ## Advanced Features -- [ ] You can create [[note-templates]] for things like book reviews, people, daily notes (coming soon), and more! +- [x] You can create [[note-templates]] for things like book reviews, people, daily notes (coming soon), and more! ## About Foam diff --git a/journal/2022-04-09.md b/journal/2022-04-09.md new file mode 100644 index 0000000..821a5d8 --- /dev/null +++ b/journal/2022-04-09.md @@ -0,0 +1,21 @@ +# 2022-04-09T14:01:45Z + +## 尝试安装并使用 [foam](https://github.com/foambubble/foam) 作为笔记本工具 + +修改了两项配置: +```json +{ + "foam.openDailyNote.titleFormat": "isoUtcDateTime", + "pasteImage.path": "${currentFileDir}/images", +} +``` +1. 每日笔记标题使用isoUTC日期时间`2022-04-09T14:01:45Z` +2. 粘贴图片`Ctrl+Alt+V`时图片放到当前文件目录下的`images`目录内 +3. 禁用了语法检查的扩展,因为它上来就全部高亮报错。 +4. 完成新手教程,虽然也许并没有记住多少 + +## 笔记 +这些快捷键有助于更好的编辑 [[use-keyboard-shortcuts-for-editing]] + +不过其中`cmd+b`加粗的快捷键没有生效,也许是和其它快捷键冲突了。 +