Files
Obsidian-Main/05. 資料收集/軟體工具、設定/Obsidian 操作.md

1.9 KiB
Raw Blame History

使用

操作

  • Ctrl-Enter: 可以增加TODO的框框或是用來更改框框的狀態

自訂快速鍵

  • Alt+Insert: 插入樣板
  • Ctrl + Shift + <-: 摺疊所有標題 ^e897a3
  • Ctrl + Shift + ->: 展開所有標題 ^5587cd

搜尋

file: 開頭來指定指只搜尋檔名content: 開頭來指定只指搜尋內容tag: 開頭來搜尋標籤,例: tag:#mydatapath: 來搜尋特定路徑下的檔案,路徑必須要用""包圍,例: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

來源:

Plugin

Dataview