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

[Feature] Option to Keep Prefixes in Filenames, but not in H1 #84

Open
electblake opened this issue Mar 1, 2024 · 1 comment
Open

Comments

@electblake
Copy link

Problem

Using ZK prefixes, or the built-in Unique Note Creator plugin then adds the prefix to the H1 which makes omnisearch and other issues.

Plugins I use that would benefits:

Proposed Solution

  • Add a new setting "keep prefixes in filename"
  • Add ability to define multiple regex expressions to match and return a prefix during title sanitization process
  • Prefix Regex rule ordering matters as some prefixes may be simpler than others
@electblake
Copy link
Author

I've actually already built this using the following setting screen - have been testing locally before submitting this.

Screenshot 2024-03-01 at 12 18 10 PM

Today the plugin was updated so I had to rebuild my forked changes - so seems like time to share this for review 🙏🏼

electblake added a commit to electblake/obsidian-filename-heading-sync that referenced this issue Mar 1, 2024
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

No branches or pull requests

1 participant