What is your perfect feature you want this plugin to have? #33
Replies: 5 comments 3 replies
-
First of all, thank you @bandantonio for a great plugin! I would love it even more if there was a feature that allowed me to add additional content to the note manually and have these additions persist across imports. As an example, I would love to be able to add sections for my own summary and key concepts of a book and maintain (and update) the imported highlights at the end of the note as indicated by the template sketch below:
The ##Summary and ##Key Concepts sections are where I would like to manually add content that would persist across imports. Currently, and please correct me if I'm wrong, I believe this content would disappear every time I run the plugin and would force me to manually copy/paste this content to keep it. |
Beta Was this translation helpful? Give feedback.
-
@thorbjaelk Thank you for the request. One of the approaches I can think of that can help you implement what you want is to create a folder somewhere (outside the highlights folder) in your vault where you will save your reflections about books and then embed those reflections into the template for importing highlights. For example, let's say your folder with reflections is called Example of such a file: Key notes - Atomic Habits - Tiny Changes, Remarkable Results # Key notes - Atomic Habits - Tiny Changes, Remarkable Results
## Summary
Atomic Habits book summary
## Key Concepts
- Key concept #1
- Key concept #2
- Key concept #3 In this way, you can modify the template for importing highlights as follows: As a result, this part in the imported book file will look as follows:
Rendered version: In this way, your manually added content will persist across imports (as it is stored "externally", and the links will automatically point to the corresponding "Key notes" files and grab the content from the corresponding sections. If the corresponding "Key notes" file doesn't exist, you will be able to create it in one click: Please let me know your thoughts on whether this solution suits you. Warning Make sure to create the "key notes" folder outside the highlights folder (for now, at least). Currently, the import logic ignores nested folders and the content inside them. I'm in the middle of refactoring the import logic according to #34 but I believe that the logic of backing up only the direct children of the highlights folder will remain the same. |
Beta Was this translation helpful? Give feedback.
-
Hi @thorbjaelk I have some good news for you. Today, I did some research regarding your request and eventually managed to create a draft version of the template that allows you to define custom content that will persist across imports. I tested the code with only one block, it seems to be OK. So I believe that with some more polishing, I will be able to deliver that feature. |
Beta Was this translation helpful? Give feedback.
-
@bandantonio That's excellent news! Please let me know if I can support you with testing or in any other way. |
Beta Was this translation helpful? Give feedback.
-
Excellent plugin! I would like an option to cleanup whitespace as some highlights have extra spaces and newlines in them. I'm using the https://github.com/zlovatt/obsidian-trim-whitespace plugin right now to process them one at a time, but that is slow. If there is a way to batch process all highlights after the file is created, that would also work. I generally don't highlight highly structured text, just sentences or fragments of sentences. |
Beta Was this translation helpful? Give feedback.
-
If you could think of one feature that would make the experience with the plugin even more enjoyable, what would this one feature be?
Beta Was this translation helpful? Give feedback.
All reactions