ivan-lednev / obsidian-task-archiver

Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
MIT License
109 stars 12 forks source link

{{heading}} placeholder not finding any headings #95

Open benjaminwelch opened 3 months ago

benjaminwelch commented 3 months ago

Hi @ivan-lednev,

This is going to be a game changer. I just need to figure out this last part. My plan is to use the placeholders so I can archive tasks under lists that have the same text as the heading they're under.

## admin
- [x] cleaning task
## study
- [x] reading task

The above task would end up like this:

## admin

## archive
- admin
    - [x] awesome task
- study
    - [x] reading task 

However, when I try to use {{heading}} it misses admin as the heading and just uses the file name. I tried this in a test vault with no other 3rd party plugins as well. Here is what I'm seeing:

Screenshot 2024-05-25 at 17 04 41 Screenshot 2024-05-25 at 17 04 54

I looked through the issues but didn't find it. I hope I can get this working. Let me know if I can help with anything else on my side!

Cheers, Ben