Show Graph that displays a graph of local links between Markdown files in the current working directory.
Gives better insights into structure of your files if you are writing a wiki, a Foam notebook or documentation.
This is a fork of tchayen/markdown-links.
Recommended workflow is either keeping the graph open and using it as an alternative to the explorer sidebar or checking the it from time to time.
The graph refreshes automatically every time you:
- Update a Markdown title of the file.
- Change links to other files.
- Create a new file and add give it a title.
- Remove a file.
When active file in the editor changes and it matches one of the files in the graph – it will be highlighted.
- Title is always the first Markdown heading of depth 1, i.e.
- Files which do not have a title do not appear in the graph.
- Files can link to other files using local Markdown links or Wiki Links.
- The graph is not directed. It doesn't show which file has the link and which one is linked.
- Directory structure is not relevant for the graph. All that matters is the mutual links between files.
Link can be present in [text](https://github.com/ianjsikes/md-graph/blob/master/first.md) or on a special list.
- [[third]] - Links to `third.md`
Named reference can also be used, like this: [reference].
This extension contributes the following settings:
Controls in which column should the graph appear. Refer to Column values. Defaults to
Controls in which column should clicked files open. Refer to Column values. Defaults to
active – in the currently focused column.
beside – other than the current.
nine – respective editor columns.
If true, opens the graph when you open VS Code. Defaults to
An array of file extensions that will be parsed to generate the graph. Defaults to
Controls the default graph viewing mode.
"ALL" shows the full graph of every file in the workspace.
"FOCUS" only shows the currently open file and its neighbors.
Controls how many levels of neighbors should be shown in focus mode. Defaults to
Controls how far away a file should be from the current file before its node is faded. Set to
0 to not fade any nodes. Defaults to
Refer to the GitHub project board
Refer to the CHANGELOG.md file.
You are very welcome to open an issue or a pull request with changes.
If it is your first time with vscode extension, make sure to checkout Official Guides.