mdelobelle / metadatamenu

For data management enthusiasts : type and manage the metadata of your notes.
https://mdelobelle.github.io/metadatamenu
MIT License
520 stars 27 forks source link

Avoid applying class Files to a specific folder (e.g. Templater) #392

Closed OXiOSDev closed 10 months ago

OXiOSDev commented 1 year ago

First of all, a huge thanks for this incredible plugin !!! Using the Templater plugin, i add a tag in the template file to automatically apply a class file in the file generated by the template. If possible, I would like that the class file was not apply to the templater file itself to avoid to select any value for a field into the template itself (that will be apply to all futur files generated by this template). Is it possible to add a option into the settings to select folder in which the class file was not apply ? Or is it possible to add some code into the markdown file of the file class ? Once again, this plugin is amazing !!!

biscotty666 commented 1 year ago

There's a plugin called Quick Add which allows you to define macros which can be applied by default to new notes. I've seen it in action but haven't used it myself. You could potentially create a macro which adds the fileClass to the frontmatter rather than putting that part in your template. https://quickadd.obsidian.guide/docs/Choices/MacroChoice

OXiOSDev commented 1 year ago

Thanks a lot for your response ! I will try it.

mdelobelle commented 1 year ago

I'll add a dedicated setting for that in the next version

OXiOSDev commented 1 year ago

Thank you so much for your amazing work ! Le 2 sept. 2023 à 22:56 +0200, mathieu @.***>, a écrit :

I'll add a dedicated setting for that in the next version — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

mdelobelle commented 10 months ago

available in 0.6.x