Skip to content

Commit

Permalink
feat: nav in canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
guopenghui committed Mar 21, 2024
1 parent 40dee8e commit 9169797
Show file tree
Hide file tree
Showing 14 changed files with 803 additions and 128 deletions.
11 changes: 11 additions & 0 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ Quiet Outline:
![拖拽](https://raw.githubusercontent.com/guopenghui/obsidian-quiet-outline/master/public/drag.gif)


### 在 Canvas 中导航
![Canvas](https://raw.githubusercontent.com/guopenghui/obsidian-quiet-outline/master/public/nav_in_canvas.gif)

### 在 Kanban 中导航

### 鼠标悬浮显示预览窗口
![Popover](https://raw.githubusercontent.com/guopenghui/obsidian-quiet-outline/master/public/popover.gif)


### 记忆展开状态
在切换已打开的笔记时,展开状态会被记录和恢复

## 局限
+ 由于内置编辑器的懒加载策略(只加载你当前在窗口中能看到的东西。如果你滚动地太快,可以看见有些文本来不及被渲染成相应的元素,如公式、表格、图片),有时只点一下没办法跳转到你想要的位置,尤其是第一次打开这个笔记的时候。 Obsidian内置的核心大纲插件也存在这个问题。 解决方法很简单:**再点一次**
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,17 @@ use regex:
![拖拽](https://raw.githubusercontent.com/guopenghui/obsidian-quiet-outline/master/public/drag.gif)


### Navigate in Canvas
![Canvas](https://raw.githubusercontent.com/guopenghui/obsidian-quiet-outline/master/public/nav_in_canvas.gif)

### Navigate in Kanban

### Show content when hovering on heading
![Popover](https://raw.githubusercontent.com/guopenghui/obsidian-quiet-outline/master/public/popover.gif)


### Remember State
Memorizing the expanded title state when switching between open notes


## Limitations
Expand Down
36 changes: 1 addition & 35 deletions main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-quiet-outline",
"name": "Quiet Outline",
"version": "0.3.24",
"version": "0.3.25",
"minAppVersion": "0.15.6",
"description": "Make outline quiet and more powerful, including no-auto-expand, rendering heading as markdown, and search support.",
"author": "the_tree",
Expand Down
65 changes: 38 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"license": "MIT",
"dependencies": {
"marked": "^4.0.12",
"monkey-around": "^3.0.0",
"vue": "^3.2.31"
},
"devDependencies": {
Expand All @@ -30,7 +31,7 @@
"esbuild": "0.13.12",
"hash-sum": "^2.0.0",
"naive-ui": "^2.28.1",
"obsidian": "latest",
"obsidian": "^1.5.7-1",
"tslib": "2.3.1",
"typescript": "4.4.4"
}
Expand Down
Binary file added public/nav_in_canvas.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/popover.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9169797

Please sign in to comment.