github: https://github.com/tokuhirom/obsidian-2hop-links-plugin
[[Scrapbox]]のリンク形式を[[Obsidian|Obsidian]]で使えるようになる[[Obsidian plugin]]。
- Link
- Backlink
- 2hoplink(未作成)
- 2hoplink(作成済)
- Link(not Connected)
- tag
の順で表示される。
作成していないノートはクリックして作成することができる。
2hoplinkは症候などを表わしたノートを使うことで鑑別診断に使えそうである。
リンクのそれぞれの色は少し趣味に合わないので、`snippet`に[[CSS]]を追加して見た目を変えている。
```CSS
/** For 2hoplink **/
.twohop-links-box {
box-sizing: border-box;
width:135px!important;
height:135px!important;
border: 1px solid #224433;
float: left;
padding: 5px!important;
margin: 8px;
color: #224433;
background-color:#fde8d0!important ;
border-radius: 2px!important;
overflow: hidden;
}
.twohop-links-box-preview {
color: #224433;/
font-size: 70%;
}
/* connected links */
.twohop-links-connected-links-header {
background-color: #4d9fdaa8!important;
}
/* two hop links */
.twohop-links-resolved .twohop-links-twohop-header {
clear: both;
background-color: #dda965b0!important;
}
.twohop-links-unresolved .twohop-links-twohop-header {
clear: both;
background-color: #e0df86cc!important;
}
/* tags */
.twohop-links-tag-header {
clear: both;
background-color: #b34d4d91!important;
}
/* new links */
.twohop-links-new-links-header {
background-color: rgba(109, 204, 116, 0.678)!important;
}
```