A MkDocs plugin that generates a obsidian like interactive graph
Project description
Interactive Graph for Material for MkDocs
Plugin for Material for MkDocs to draw an interactive graph like Obsidian. Just available for non-mobile website yet.
Installation
pip install mkdocs-obsidian-interactive-graph-plugin
Usage
Activate the plugin in mkdocs.yml, but note that this plugin has to be located before plugins, that replace wikilinks to markdown links. Currently just wikilinks like [[Link]]
are supported.
plugins:
- obsidian-interactive-graph
extra_javascript:
- https://fastly.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js
- https://fastly.jsdelivr.net/npm/echarts@5.5.0/dist/echarts.min.js
- assets/javascripts/graph.js
Graph Javascript
The graph.js
example can be downloaded from here and must be located into the docs directory under docs/YourSiteName/assets/javascripts/graph.js
.
Demo
Refer here for a demonstration of the interactive graph in Material for MkDocs.
Development
Adapt the .env
and mkdocs.yml
files to your needs.
Build and start the Docker via docker compose up --build
.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mkdocs-obsidian-interactive-graph-plugin-0.1.1.tar.gz
.
File metadata
- Download URL: mkdocs-obsidian-interactive-graph-plugin-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ffc947e253e6463bd3e53836d6e13b6ad1ac9d55d918e82f8b9741680e05691 |
|
MD5 | b0d79f19e0149f4e67ea622c16bcf0d1 |
|
BLAKE2b-256 | 410df2793fb5a5fbeb17edc4cc26b4aba4fcee51d58ef089cc0e43aa1b57b666 |