Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more Local options in codeblock (ignore, limit, etc) #94

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Moyf
Copy link
Contributor

@Moyf Moyf commented Dec 12, 2024

The folder-index-content code block now supports the following configuration options:

Option Description Example
title This will overwrite the Filename inside the Index title: My Custom Title
ignore Files/folders to exclude from the content (supports wildcards) ignore: *.pdf, *img*, temp
recursionLimit Override the global subfolder limit for this index recursionLimit: 2

Example:

```folder-index-content
title: Project Files
ignore: *.pdf, *img*, temp
recursionLimit: 2
```

And I add a new option:
image


Those codes are primarily wrote by AI (Windsurf), I just guided it and do tests.
It works on my 'puter, but I think it would be safer that you check it before merging it 🥺

@Moyf
Copy link
Contributor Author

Moyf commented Dec 12, 2024

By the way, the AI has added the title option, but actually I am not sure how it works. > <

To work with FolderNotes Plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant