Comments (1)
Hi @athshean,
Yes, at the moment this won't work because only one metadata.json is supported.
The problem is, that:
- The metadata.json needs to be located in the root of the
NOTES_PATH
or perlite folder (if none is defined). - Because of the relative paths in the metadata.json, the file needs to be in the root folder of the vault.
Example 1 (no vault defined):
-perlite
--metadata.json
--test.md
--test2.md
Example 2 (vault1 defined)
-perlite
--vault1
---metadata.json
---test.md
---test2.md
What should work is: copy the contents of all your vaults into the perlite folder and also merge all the metadata.json files into one that you provide in the perlite folder. Then Perlite will act like a "vault" and the graph should work.
If you want to keep your vault root folders for the structure and menu as well, you will need to adjust/expand the contents of each metadata.json vault to include the vault name before each relativePath
key, you will also need to add another ../
before each displayText
key. A simple Python script should automate this task.
To get the demo graph working without defining a NOTES_PATH, you can copy the contents of the demo folder to the perlite folder, provide the metadata.json in the Perlite folder as well, and the graph should work.
So this is not a bug, it's just not implemented yet... I will think about it, maybe i can implement it in the future.
BR,
Sec77
from perlite.
Related Issues (20)
- Merge perlite and perlite_web into one Image HOT 5
- failed building web HOT 10
- Unable to Start Perlite HOT 6
- PDF and MP4 files rendering with WIKILinks HOT 3
- YAML frontmatter not displayed HOT 2
- Feature request: Dataview HOT 1
- Support for random note? HOT 3
- embed link
- Minimizing callouts doesn't work HOT 2
- Is Gitlab Flavored Markdown (GLFM) supported? HOT 2
- Default column widths HOT 3
- Image links to external URLS dont work HOT 1
- Direct page links HOT 4
- Graph control button is not visible on mobile screen size HOT 4
- Support image alt text HOT 3
- Folder arrow marker randomly disappears HOT 4
- Update Mermaid.js HOT 2
- Display nodes that don't exist yet on the graph HOT 3
- loading time issues with larger connection sets HOT 8
- Work with Custom CSS from Themes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perlite.