- Include/Exclude folders improved: absolute paths are required, independently from its first character (it can be '/', or simply just start with the name of the folder within the root path to be included/excluded ).
- Specific character is introduced: if you type '*' at the end of the folder, it means that it AND its subdirectories(recursively) will be included or excluded
Assuming that you have the following directories in the root of your vault:
Notes
Notes/Daily
Articles
Articles/Science
If you would like to include Notes, the Daily within and Articles to be included, but exclude Articles/Science you should set include property to:
Notes/*
Articles
and exclude property to:
Articles/Science
- Option to set a template for index files
- Numbers sorted correctly in index links (bug: #45)
- Frontmatter separator is configurable (by default it's '---' )
Plenty of new features coming requested by you! Namely, from version 0.16.1 you can:
- use sections ('---' lines) within the index files content, they won't be removed during the content update
- square brackets are optional in tags
- embed child index notes in the preview ('Embed sub-index content in preview' option in the config)
- select folders to cover or to be excluded by the plugin
- trigger the indexing manually (see 'Generate index now' button in the config)
- sort the index links (ascending or descending) (see 'Index links Order' in the config)
- emojis can be set to each row, folders and files can be denoted separately (see 'Emojis' section in the config)
Customizabe index notes: From now you can customize your index file, not the whole content will be updated, but the exact list to the notes only (and tags metadata if it is set).
In order to achieve this, I added 2 extra autogenerated texts to separate the note list to be updated from the other part of the index file. They appear in Edit mode only.
These are:
- 'Zoottelkeeper: Beginning of the autogenerated index file list' and
- 'Zoottelkeeper: End of the autogenerated index file list'
Please do not remove them.
Following the idea of Nick Milo and the LYT -concept (Linking Your Thinking), an amazing way to bring structure to your files, folder and thoughts is by using Maps of Content (MOCs). Because even though Obsidian is generally built around the idea of being 'beyond' folder structures, you generally still need to have some sort of system to store all those juicy insights.
ZoottelKeeper watches the followings:
- Creation of files in rootFolder and any subfolders within
- Deletion of files in rootFolder and any subfolders within
- Move a file among rootFolder to subFolders
- Move a file among subfolders
So, the idea behind Zoottelkeeper is to help you generate the base form of these maps automatically. It does so by indexing all the files and folders that lay in a folder, thus creating a link from the file to all it's content.
(1) shows the current folder structure. The plugin generates an index-file in each folder, showing all files and folders it contains. An example list (2) is shown for the main folder, but the subfolders contain a similar file. Each of these index-files is tagged (3) based on your preferences. This then results in the graph view with "folders" (4) (it's actually the index-files that are connected, but it looks like folders) and their respective files (5).
So far so good, we've seen that before. The actually nice thing is, if I now move Folder B into Folder A (6), then the index file will automatically update (7), resulting in the desired graph view (8).
You might have noticed that you can't see the index files in the folders in view (1) and (6), that is because I did not add a prefix to the index-file (so it's automatically named like the folder) and I also use the Folder Note plugin, just for the fact that it hides files in folders when they are named like the folder and displays them when you click on the folder (which is super nice for the MOC purpose here too).
Please note that manually created folder notes may be overwritten by Zottelkeeper, please set up your template using the Templater plugin.
Does this plugin replace the need to think about structure? No. But it could relief you of the tedious work that has to happen when you just want to allocate files to a broad category and, what's even bigger, it will relief you of the pain to manually go through all the files and change their "parent-category whenever a topic gets too big or you want to move it somewhere else. Basically all you have to do is save things where they belong and the plugin will map that basic structure out for you. You can then, on top of that, add whatever MOC, index or tag logic you like.
Similarly to any other plugins it is downloadable within Obsidian. Then, after enabling it, you will be able to configure Zoottelkeeper in its config interface.
There is three different types of lists for you to choose from: - pure Obsidian links, - list items (dots) - links with checkboxes
Depending on your preferences, you can set any prefix to your index-files (or none at all). (Please note that the prefix must be unique, otherwise, normal notes with the same note name might be recognized as index files, and in this cases they will be updated!
You can choose to add YAML Meta Tags to your automatically generated index-files.
You can set one or multiple custom Meta Tags. Since they are displayed in the YAML format, you don't need to add a '#'. If you're setting multiple tags please make sure to separate them with commas.
- The file and the folder are no longer listed in the in the index-file.
-
Install templater plugin (https://github.com/SilentVoid13/Templater)
-
In the Templater's settings page:
- Set a template folder
- Create a template file (based on the example below) and assign it to your folder handled by Zottelkeeper
- Set Templater to be triggered on file creation
-
In Zoottelkeeper's settings page, specify the full path of your template location like 'templates/zoottel_template.md'. The template can be managed by the Templater plugin.
In order to prevent the generalization of the Zoottelkeeper's metadata in the real files created, please use the following template as a base, which puts Zoottelkeepers placeholders only if the filename ends with the parent folder's name (so it's an index file/ folder note):
---
tags:
---
<%* if (tp.file.title.endsWith(tp.file.folder())) { %>
%% Zoottelkeeper: Beginning of the autogenerated index file list %%
%% Zoottelkeeper: End of the autogenerated index file list %%
<%* } %>
WARNING: PLease make sure that the placeholders (lines starting with %% Zottelkeeper) pasted into Obsidian has double spaces before the ending '%%' characters in each line, otherwise they won't be recognized and therefore the whole index file is going to be regenerated removing the custom texts!
Any feedbacks or feature requests are welcome, feel free to create issues on Zoottelkeeper's repository page!
If you like the plugin, please let me know by giving a star to it on github:
As with every plugin, there is risk of data-loss and I don't give any guarantees or take any responsibility.