Affected files: .obsidian/workspace 03. Programming/COM/20210726 - COM Interface.md 03. Programming/DB/MySQL.md 03. Programming/DB/sqlite.md 03. Programming/Design Pattern.md 03. Programming/FFMPEG/00. Introduction.md 03. Programming/FFMPEG/01. Setup.md 03. Programming/FFMPEG/FFMpeg.md 03. Programming/Flask.md 03. Programming/Media Foundation/20210604 - Windows media foundation.md 03. Programming/OpenCV.md 03. Programming/OpenGL.md 03. Programming/Python/argparse.ArgumentParser.md 03. Programming/Python/decorator.md 03. Programming/Python/logging.md 03. Programming/Python/opencv.md 03. Programming/Python/subprocess.md 03. Programming/Python/threading.md 03. Programming/Python/tkinter.md 03. Programming/Python/檢測工具.md 03. Programming/QT/Dropdown button.md 03. Programming/QT/QVariant.md 03. Programming/QT/Qt.md 03. Programming/UML.md 03. Programming/演算法.md 04. 資料收集/99. templates/blogHeader.md 04. 資料收集/99. templates/date.md 04. 資料收集/99. templates/front matter.md 04. 資料收集/99. templates/note.md 04. 資料收集/99. templates/table.md 04. 資料收集/99. templates/thisWeek.md 04. 資料收集/99. templates/日記.md 04. 資料收集/99. templates/讀書筆記.md 04. 資料收集/Linux/CLI/cut.md 04. 資料收集/Linux/CLI/scp.md 04. 資料收集/Linux/CLI/timedatectl.md 04. 資料收集/Linux/Programming.md 04. 資料收集/Linux/Ubuntu.md 04. 資料收集/Tool Setup/Hardware/RaspberryPi.md 04. 資料收集/Tool Setup/Software/Chrome.md 04. 資料收集/Tool Setup/Software/Obisidian.md 04. 資料收集/Tool Setup/Software/SublimeText.md 04. 資料收集/Tool Setup/Software/VirtualBox.md 04. 資料收集/Tool Setup/Software/Visual Studio Code.md 04. 資料收集/Tool Setup/Software/Windows Setup.md 04. 資料收集/Tool Setup/Software/Windows Terminal.md 04. 資料收集/Tool Setup/Software/freefilesync.md 04. 資料收集/Tool Setup/Software/vim.md 04. 資料收集/名言佳句.md 04. 資料收集/架站/Gitea.md 04. 資料收集/架站/HTTP Server/Apache.md 04. 資料收集/架站/HTTP Server/Nginx/Reverse Proxy(Layer4).md 04. 資料收集/架站/Pelican blog.md 04. 資料收集/架站/Proxmox VE.md 04. 資料收集/架站/SWAG Reverse proxy.md 04. 資料收集/架站/Storj.md 04. 資料收集/架站/Trojan.md 04. 資料收集/每週外食.md 04. 資料收集/科技/802.11.md 04. 資料收集/科技/HDR Sensor.md 04. 資料收集/科技/量子電腦.md 04. 資料收集/科技/鋰電池.md 04. 資料收集/興趣嗜好/RC/Traxxas Sledge.md 04. 資料收集/興趣嗜好/RC/好盈電變調整中立點.md 04. 資料收集/興趣嗜好/RC/差速器調教教學.md 04. 資料收集/興趣嗜好/模型/舊化作例.md 04. 資料收集/興趣嗜好/軍武/虎式.md 04. 資料收集/讀書筆記/20201201 - 學習如何學習.md 04. 資料收集/讀書筆記/20201218 - Kotlin權威2.0.md 04. 資料收集/讀書筆記/20201224 - 寫作是最好的自我投資.md 04. 資料收集/讀書筆記/20210119 - 中產悲歌.md 04. 資料收集/讀書筆記/20210220 - 最高學習法.md 04. 資料收集/讀書筆記/20210320 - 最高學以致用法.md 04. 資料收集/讀書筆記/20210406 - 精準購買.md 04. 資料收集/讀書筆記/20210723 - 高手學習.md 04. 資料收集/讀書筆記/20220526 - 深入淺出設計模式.md 04. 資料收集/讀書筆記/20220619 - 精確的力量.md 04. 資料收集/軟體工具/IPFS.md 04. 資料收集/軟體工具/MkDocs.md 04. 資料收集/軟體工具/Obsidian.md 04. 資料收集/軟體工具/docker.md 04. 資料收集/軟體工具/git/apply.md 04. 資料收集/軟體工具/git/submodule.md 04. 資料收集/軟體工具/youtube-dl.md 04. 資料收集/面試準備/技术面试最后反问面试官的话.md
63 lines
1.9 KiB
Markdown
63 lines
1.9 KiB
Markdown
## 使用
|
||
### 操作
|
||
- `Ctrl-Enter`: 可以增加TODO的框框,或是用來更改框框的狀態
|
||
|
||
### 自訂快速鍵
|
||
- `Alt+Insert`: 插入樣板
|
||
- `Ctrl + Shift + <-`: 摺疊所有標題 ^e897a3
|
||
- `Ctrl + Shift + ->`: 展開所有標題 ^5587cd
|
||
|
||
### 搜尋
|
||
用 `file:` 開頭來指定指**只搜尋檔名**
|
||
用 `content:` 開頭來指定**只指搜尋內容**
|
||
用 `tag:` 開頭來搜尋標籤,例: `tag:#mydata`
|
||
用 `path:` 來搜尋特定路徑下的檔案,路徑必須要用`""`包圍,例:`path:"path/to/foder" search_name`
|
||
|
||
## 設定
|
||
目前所使用的theme是`Obsdn-dark-rmx`
|
||
CSS路徑:`<vault>/obsidian.css`
|
||
|
||
### CSS
|
||
#### 讓中文字型使用**微軟正黑體**
|
||
```
|
||
.CodeMirror pre.CodeMirror-line {
|
||
font-size: 14px;
|
||
font-family: Fira Code, Microsoft JhengHei, Source Code Pro, monospace;
|
||
}
|
||
```
|
||
不用照抄,重點是在`font-family`裡面,加入`Microsoft JhengHei`,愈前面優先順序愈大。
|
||
|
||
#### 顯示**Bullet Point Relationship Lines**
|
||
|
||
```
|
||
/*=== Bullet Point Relationship Lines ===*/
|
||
.cm-hmd-list-indent, ul ul {
|
||
position: relative;
|
||
}
|
||
.cm-hmd-list-indent::before, ul ul::before {
|
||
content:'';
|
||
border-left: 1px solid rgba(0, 122, 255, 0.55);
|
||
position: absolute;
|
||
}
|
||
.cm-hmd-list-indent::before {
|
||
left: 0;
|
||
top: -5px;
|
||
bottom: -4px;
|
||
}
|
||
ul ul::before {
|
||
left: -11px;
|
||
top: 0;
|
||
bottom: 0;
|
||
```
|
||
在`obsidian.css`最後端加入上面的CSS就可以顯示**Bullet Point Relationship Lines**,如:
|
||
![[Pasted image 20201206094618.png]]
|
||
|
||
來源:
|
||
- https://www.youtube.com/watch?v=ea9hkXem1f4
|
||
- https://gist.github.com/emisjerry/36d1d115ae22cd0902fc528875f86414
|
||
|
||
|
||
## Plugin
|
||
### Dataview
|
||
- [Source code](https://github.com/blacksmithgu/obsidian-dataview)
|
||
- [介紹:[Obs#26] Dataview外掛: 製作索引筆記利器;動態查詢筆記資料 - YouTube](https://www.youtube.com/watch?v=dkWA7Qd0CLA&list=PLWg9zacwOnwfcpVm5pAKgOHms7PntsgJS&index=18) |