Open NoahBoos opened 1 month ago
Hi, Tasks maintainer here....
The Tasks plugin gets its list of tasks from Obsidian's CachedMetadata - from the ListItemCache
.
I think that you are saying that you have put some task lines inside a Tabs code block, and Tasks is not reading them.
If so, then this is the expected behaviour.
Obsidian does not parse lines inside any code block as list items, so no plugin that uses the ListItemCache
will see task lines in any code blocks.
Perhaps the docs for this plugin should say tell people not to put any content in tabs that they want to be accessible by other plugins....
Thanks for your explanation. I'll add it to the docs in next commit.
I noticed now that @NoahBoos was exactly correct:
I think the issue may be from the fact that Tabs is functioning using Codeblock so, the syntax to build and manage tasks is parsed like a plain text, not like a task.
Obsidian does not parse lines inside any code block as list items, so no plugin that uses the
ListItemCache
will see task lines in any code blocks.
There is no way to change that, so ? Am I wrong ?
Correct. As far as I know, there is no way to change that.
There is a workaround though. I haven’t tested it (am on mobile and with no time to spare) but it will probably work.
![[File containing tasks]]
I suspect you will be able to interact with the tasks normally via the embed, such as completing them and getting a Done date added.
Please test and confirm, @NoahBoos.
Hello, new issue about Tasks in Tabs, when you create a Tasks in a tab that is provided by Tabs, the created tasks isn't supported and isn't query-able in Tasks query.
If the codeblock is that :
The output will be the following image.
BUT ! When you'll try to query it, it won't spawn. If the Tasks request is :