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

Option to add ignored files to Templater settings #1396

Open
benjaminwelch opened this issue Jun 14, 2024 · 2 comments
Open

Option to add ignored files to Templater settings #1396

benjaminwelch opened this issue Jun 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@benjaminwelch
Copy link

Is your feature request related to a problem? Please describe.
I use Obsidian to study code and right now I'm studying Ruby on Rails. erb in Rails is the same syntax as Templater's syntax and this is causing all kinds of strange rendering.

Describe the solution you'd like
If I could add a file to an "ignore these files" list in the settings, then I could have a some documentation for Rails and other languages that wouldn't conflict with Templater's syntax.

Describe alternatives you've considered
I tried disabling Templater while studying but I often create new files which use Templater and this doesn't really work.

Additional context
With Templater enabled on:
Screenshot 2024-06-14 at 08 55 56
With Templater disabled:
Screenshot 2024-06-14 at 08 56 57

@benjaminwelch benjaminwelch added the enhancement New feature or request label Jun 14, 2024
@Zachatoo
Copy link
Collaborator

You can disable syntax highlighting in Templater settings to avoid this issue. Seems easier to manage to me than to have to manage a list of files in settings as you add/remove files with Ruby syntax.

@benjaminwelch
Copy link
Author

@Zachatoo I appreciate the help. Good solution for the immediate. I do appreciate the syntax highlighting when building templates. Limiting syntax highlighting to the designated templates folder/s I choose would work too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants