Publish tasks

What I’m trying to do

I have Obsidian Publish paid service.
I use community plugin “Tasks”
I would like to be able to publish tasks queries.
When I do so, the published page displays the query code, not the query results.

Things I have tried

I searched tasks publish. there were no results
Restarting Obsidian
Checking that the notes were in reading mode when publishing.

Thanks for any help!

This is a limitation of Obsidian Publish :blush: :

Plugins which output in raw markdown, such as the Waypoint plugin, are compatible with Publish because they do not require the application to render their data.

Whereas a plugin that requires a plugin codeblock to render, such as Dataview or Fantasy Statblocks, will not work by default in Publish.

So, to be able to render a tasks query on your published notes, I can sadly only guess the plugin needs to be compatible with Obsidian Publish :thinking:

The other option I can think about (also possibly cumbersome to implement/maintain) would be to actually publish the rendered result of the query as raw markdown instead of the query in itself…

Meaning that you’ll probably need to find a way “extract” the (static) results of the query and add it to the note you wish to publish.

I know extracting results from a Dataview query can be achieved with Templater (or possibly any other plugin providing scripting/JS feature (plugins like QuickAdd, etc…))… but I wouldn’t know how more precisely :blush:

It’s wierd that I find no mention of publish in Tasks’ known limitations, bug reports, or feature requests. That makes me think it IS supposed to work.

I’m not a Tasks plugin user tbh :innocent: (nor an Obsidian Publish one :sweat_smile: ), so I don’t know more than what I’ve said earlier :blush:

I also looked through the extensive documentation of Tasks and didn’t find anything mentioning Obsidian Publish, which lead me to a similar thought :thinking:

As a counterargument though, one could say that tasks could generally be seen as “private” (potentially containing sensitive informations ?) not meant for a public eye :woman_shrugging: : hence the lack of requests, bugs, etc… :woman_shrugging: ? (plus Obsidian own Publish limitation with rendered content :blush:)