Closed jkunczik closed 1 year ago
Hi @jkunczik ! Thanks a lot, this would close #22. I will try to find some time to review / merge it this week !
Hi @jkunczik, I reviewed your code and suggested some changes to keep the code more like the existing code. Congrats on the regexp art btw :)
When I tested the implementation, it seems that the first header is removed from the copy. This is different from the behaviour in Obsidian, so it would probably be best to keep it in. Do you have a special use-case for this ? It could be removed using a custom stylesheet or with a user-option instead.
@jkunczik, if you agree I will make the changes myself, and credit you for the feature ?
Closes #22
Thank you so much for this awesome plugin! I had the problem that I could not embed sections of another document. When trying, I only got the link text for the embedded file and not more. It turned out the fix was quite simple, hence I quickly added it.
What the changes do:
If you have any questions, please let me know!