-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Ignore lines that start with #660
Comments
@gerroon since I don't consider this a self explanatory feature for the average sleek user, I would propose a setting on config file level. Something like I cannot think of a good attribute name ... |
That would do it for real. Thanks for considering it. |
@gerroon you can find this function in the latest pre-release: https://github.com/ransome1/sleek/releases/tag/v2.0.10-rc.1 In your config you will find a new setting called If you for instance add a string like this |
Thanks, however I am not seeing that new setting in the config file. It did not look like it added it after I ran the updated version. |
It's possible that the migration tool will only add it on non rc version. You can just add the option manually to the config.json. |
Thanks, I think it works. |
Btw would it accept multiple prefix types? |
Right now it only accepts a single string, but it can be build in a way, that it would accept an array:
If this helps, I can change the behavior in the next pre-release. |
That would be awesome Thank you. Thanks for implementing it. |
@gerroon the array approach can be tested in the latest pre-release: https://github.com/ransome1/sleek/releases/tag/v2.0.10-rc.2 |
What problem does it solve?
Hi
It would be useful if Sleek can ignore lines start with certain words/characters etc that can be defined in the settings. This can help with being able to add more information, commenting integration with other apps. For instance I want to be able to have yaml frontmatter at the top of the todo.txt file, currently that would look sucky in Sleek. But if the user can define a set of words/characters to ignore lines. words etc Sleek can just show the relevant todo info as usual
How does the user interface change to accommodate this request?
The interfcae would not chage, but the user would need a way to define ignore patterns in some kind of setting.
The text was updated successfully, but these errors were encountered: