-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
2,101 additions
and
760 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* [Installing](/) | ||
* [Using it](usage.md "Supercharged backlinks") | ||
* [Searching](search/index.md) | ||
* [Feature: Markdown Processor](tree-context/index.md) | ||
* [Feature: File Context](file-context/index.md) | ||
* [How It Works](graph.md) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# File Context | ||
|
||
You can assign a key or use the command panel top open the File Context. | ||
It shows all the current partents and children at depth for the current file. | ||
|
||
The Pin button allows you to keep the context unchanged while you navigate the vault | ||
(useful for organizing notes). | ||
|
||
![img_1.png](img_1.png) | ||
|
||
Of course, the graph of children and parents is built across the vault. | ||
And you can navigate to any note by clicking on it which will highlight | ||
where the relation was recorded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# How it works | ||
|
||
This plugin adds another layer to this Obsidian's linking system, namely hierarchical linking of List Nodes & Pages in the vault. | ||
|
||
## Graph Nodes | ||
|
||
Even if the plugin is called TreeSearch, the underlying data structure is a directed graph. | ||
|
||
Nodes tracked by this plugin are: | ||
- All vault notes | ||
- List items that | ||
- Have links to other notes | ||
- Have links to web pages | ||
- Have tags | ||
- All virtual pages (notes that are not in the vault but are linked to) | ||
- Headers (only if they have List items under them) | ||
|
||
| Node | Type | Description | | ||
|--------------------------------------------------------|--------------|------------------------------------------------------------------------------| | ||
| `MyCompany.md` | Page | A note in the vault | | ||
| `[[Projects]]` | Virtual Page | Whenever the page does not exist in the vault, but there's still a reference | | ||
| `- [Design Document](http://link) created by [[Joe]]` | List Item | All vault lines that contain a Web or a Vault reference | | ||
| `## Header` | Header | A header in a note, if it has List Item children | | ||
| `- [ ] Task` | Task | A task in a note | | ||
|
||
## Directed Edges | ||
|
||
The plugin track relations between nodes. The relation have the direction implied by the outline: | ||
- If a Page is under another Page, the first is a child of the second | ||
- If a List Item is under another List Item, the first is a child of the second | ||
- If a List Item is under a Header, the first is a child of the Header | ||
- If a List Item is under a Page, the first is a child of the Page | ||
- If a List Item contains multiple references to other Pages, all Pages are parents of the List Item | ||
- Tasks are treated identical to List Items |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Automatically building a graph | ||
|
||
The plugin works by scanning (using dataview) all files in your vault and creating links based on the outline. | ||
It doesn't stop only at notes, but also includes headers, tasks, tags, and web links. | ||
|
||
Consider an example vault as follows: | ||
|
||
![img_2.png](img_2.png) | ||
|
||
On the right side you can see the full graph being built by the plugin for the root note. | ||
|
||
(If you wonder how the Example Graph note is created have a look at the [tree-context](/tree-context/index) macro) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Searching | ||
|
||
Search is the must powerful feature of this plugin. You can open a modal (Search Modal) | ||
or a pane (Search) to search for a note and see all the notes (and links) that are nested under it. | ||
|
||
This makes retrieval of atoms of information (notes, tasks, tags, headers, and web links) very easy. | ||
|
||
Say that you search from a presentation at work. With a semi-structured vault, | ||
you can start your search from "project" and use the search separator (. configured in settings) | ||
to search for "ppt". | ||
|
||
![img.png](img.png) | ||
|
||
The surrounding notes are also shown to give you context. | ||
You can now narrow further to a specific project. | ||
|
||
![img_1.png](img_1.png) | ||
|
||
Now that you have the presentation, there are three commands available: | ||
|
||
- Enter -> open and highlight the line where that relation was recorded: | ||
|
||
![img_2.png](img_2.png) | ||
|
||
- Cmd/Ctrl + Enter -> open and **select** the line. This is useful for quickly moving atoms around. | ||
|
||
- Shift + Enter -> open the first link or web link in the note. This effectively | ||
makes the plugin a launcher for your notes and bookmarks. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Tree Context | ||
|
||
You can use the `tree-context` macro to show a map of content in a note. | ||
|
||
## Usage | ||
|
||
```tree-context | ||
file: "[[Root]]" # Optional, the current file / header is inferred; use quotes | ||
depth: 2 # Optional, default is 2 | ||
``` | ||
|
||
|
||
For a file with the following content: | ||
|
||
<!-- ContextExample.md --> | ||
|
||
```tree-context | ||
depth: 2 | ||
``` | ||
<!-- auto detects the file --> | ||
# Archive | ||
|
||
```tree-context | ||
depth: 2 | ||
``` | ||
<!-- auto detects the archive header --> | ||
|
||
|
||
And the following files links anywhere in the vault: | ||
|
||
- [[ContextExample]] | ||
- a note #reminder | ||
|
||
- [[ContextExample#Archive]] | ||
- an archived note #reminder | ||
|
||
The output in the file will be: | ||
![img_1.png](img_1.png) |
Oops, something went wrong.