添加今日笔记 2022-04-09

更改初始设置
移除默认截图目录
完成教程
This commit is contained in:
2022-04-09 22:45:19 +08:00
parent cdf95090d5
commit dd3284ab99
5 changed files with 49 additions and 28 deletions

View File

@ -15,11 +15,11 @@
}, },
"foam.edit.linkReferenceDefinitions": "off", "foam.edit.linkReferenceDefinitions": "off",
"foam.openDailyNote.directory": "journal", "foam.openDailyNote.directory": "journal",
"foam.openDailyNote.titleFormat": "fullDate", "foam.openDailyNote.titleFormat": "isoUtcDateTime",
"git.enableSmartCommit": true, "git.enableSmartCommit": true,
"git.postCommitCommand": "sync", "git.postCommitCommand": "sync",
"markdown.preview.breaks": true, "markdown.preview.breaks": true,
"pasteImage.path": "${projectRoot}/attachments", "pasteImage.path": "${currentFileDir}/images",
"pasteImage.showFilePathConfirmInputBox": true, "pasteImage.showFilePathConfirmInputBox": true,
"prettier.singleQuote": false, "prettier.singleQuote": false,
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -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. 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| | column 1 | column 2 |
|-|-| | ----------- | --------------- |
| one element | another element| | one element | another element |
| second row| last cell| | second row | last cell |
--- ---
- [ ] Paste link on selected text - [x] Paste link on selected text
1. copy the following text: https://google.com 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`) - (go back to the file explorer with `cmd+shift+e`)
--- ---
- [ ] Paste an image - [x] Paste an image
1. copy 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 2. move your cursor to the next line, then press `cmd+alt+v` and confirm the name of the file
3. . 3. .

View File

@ -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: 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 ## 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 ## About Foam

21
journal/2022-04-09.md Normal file
View File

@ -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`加粗的快捷键没有生效,也许是和其它快捷键冲突了。