New to obsidian. I have installed tasks, and have created a page called widgets/personal.md with the following query:

''''tasks
(not done)
tags include #tasks/personal 
hide backlink
''''

In preview mode, this shows me the list of personal tasks. So far so good. I want to show the contents of this page as an ios widget. I found some tutorials to use widgy and make a widget that shows a page content. When I do that, instead of seeing the output, I’m seeing the above query in the widget. I know that’s because that’s what is in the file itself.

My question is, is there a way to automatically save the output to a file, or is there a different/better way to create task widgets for different tags?