-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Tasks should work inside admonitions #563
Comments
Interesting. I will need to dig deeper and test this in combination with admonition. However, my assumption is that this is due to the fact how Obsidian handles list items. The Tasks plugin iterates over all list items that Obsidian found in a file. If Obsidian doesn’t regard text inside code blocks as list items, Tasks won’t recognize them either. My assumption is that I won’t be able to easily fix this. |
See also #656, which is the same but for native callouts. |
I'm not sure I agree with the conclusion that:
I tried this out by adding a callout with a task inside. I can click the checkbox, and dataview can find the task, both in LIST and TASK view - for both a dataview and a dataviewjs query. So, it seems as Obsidian recognises the tasks, and dataview can also find them... |
Thank you. |
I found @TheDonPaul 's comment to be true for Obsidian's native callouts, but NOT for admonitions plugin ones which are in codeblocks. Dataview cannot find tasks in codeblocks, as of currently. |
I feel pretty strongly that plugins do not want to be parsing inside others' code-blocks. If you want Tasks to find your tasks, use Obsidian's native callouts instead of Admonitions code-blocks for those, bug fix for callouts incoming in #953 . If using callouts does not work for you, or you disagree about parsing code-blocks from other plugins and would like to request that feature, I recommend opening a Discussion. |
I do agree with closing this. Thanks Anna. Trivial house-keeping: I've updated tags Edit: on reflection, the tag is right. |
Expected Behavior
Using tasks nested inside Obsidian Admonition should display this:
![image](https://user-images.githubusercontent.com/35961382/158423280-1c632f18-8368-4149-9b51-599a3a24ebf8.png)
Current Behavior
Tasks are not synced and the global filter is shown (even with the "Remove global filter from description" setting):
Steps to Reproduce
Context (Environment)
The text was updated successfully, but these errors were encountered: