See https://github.com/Ery4z/foam-dynamic-relationships-snipets
This is the README for the "fdrs" extension. "fdrs" (Foam Dynamic Relationship System) is a Visual Studio Code extension designed to enhance Markdown file management within the VS Code environment, especially for users who manage a large number of Markdown files, such as in a wiki or documentation project.
"fdrs" allows users to easily insert links to other Markdown files by providing a quick and intuitive interface. It scans a specified directory for Markdown files and lets you insert a link to these files in your current document.
With "fdrs", you can insert a relation to another Markdown file with just a few keystrokes. This feature is especially useful for linking related documents in a large project.
Tip: A short, focused animation here would effectively demonstrate how to use the "Insert Relation" feature.
"fdrs" requires a standard Visual Studio Code setup. There are no additional dependencies required to use this extension.
To configure "fdrs", create a fdrs-config.json
file at the root of your workspace. This file should contain an array of objects, each specifying a category of files to link to, the relative path to the folder containing these files, and the section text under which to insert the links in your Markdown files.
Here's a generalized example of the fdrs-config.json
file structure:
[
{
"name": "CategoryName",
"path": "relative/path/to/category",
"section_text": "> Section Header related:"
},
// Add more objects as needed for different categories
]
Each object in the array represents a different category of Markdown files you might want to link to. Customize the name, path, and section_text according to your project's structure and needs.
No known issues at the moment. Please report any issues you encounter on the GitHub issues page for this project.
Initial release of "fdrs":
- Insert links to Markdown files within a specified directory.
- Configuration options for customizing the path and section text.
This extension follows the best practices as outlined in the Visual Studio Code extension guidelines.
You can edit this README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\
on macOS orCtrl+\
on Windows and Linux). - Toggle preview (
Shift+Cmd+V
on macOS orShift+Ctrl+V
on Windows and Linux). - Press
Ctrl+Space
(Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy using fdrs!