Custom Regex rule based on file contents #121
greggjoseph1
started this conversation in
Ideas
Replies: 1 comment
-
Great idea yeah. Currently, it's not possible to match a rule against the file contents because it requires to read all the content of all files, which can be really heavy to compute. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Love this plugin! I've got some custom icon rules based on the file and folder names working well. It would be cool to also allow icons to be added based on a regex match of the file contents.
E.g. when I save webpage content on a new file, the first 5 lines are always a frontmatter block like this:
A regex rule could match files that start with that block and I could have a 'website' icon in the custom rule. It would be a great quick-glance view across my entire vault of which files came from webpages
Beta Was this translation helpful? Give feedback.
All reactions