obsidian-list-callouts icon indicating copy to clipboard operation
obsidian-list-callouts copied to clipboard

feature requesting: query callouts blocks using dataview or query command

Open ghweili opened this issue 2 years ago • 1 comments

I use zotero as my literature manager, where I make highlights and comments; recently, I found that it is possible to rewrite its "notetemplate" translator to conviently export the comment lists of a paper into zotero in the form of a list of callouts blocks, each block looking like: "

[!warning] “Relevance” (Kang and Dai, 2019, p. 1) (pdf) relevance
a new line with some sample notes follows a new line with a list of tags in the form of #tag1 #tag2 "

actually, we can also rewrite the translator to output in other styles, but I found callouts convenient because we can keep the differnt colors of the zotero comments if we want, and it naturally enables the separation of the highlights and user notes.

Next, I would expect to use "obsidian note refactor" to split the note into a list of "individual comment notes", so that, I can use dataview, etc., to query all the "comments" meeting specific requirements, such as those containing #tag1. This could be an option, but it would be great if dataview/ query block, etc., could query callouts blocks directly, so that one doesn't need to refactor the note into a large number of invididual comment notes. Morevoer, each time we want to modify the original note file, e.g., if we want to add more notes to a paper in zotero or in obsidian, we have to do the refactor again besides deleting the old "individual comment notes". Only after that, the query page can get the updated comments with the specific tags. This looks cumbersome.

If there is a way to query callouts blocks (with tags) using tags directly, it would make a huge difference, because one can freely make comments to the pdf reader in zotero, then, as long as he replaces the single note md file, everything will be set; alternatively, one can also change the contents of the callouts within the md file in obsidian, then the changes will be reflected on the page that queries the callouts blocks with specific tags.

So I wonder if this is possible? This can also be useful to obsidian annotator users, if one use regex pipeline to modify the format of the relevant note file.

Otherwise, could someone give some suggestions on how to simplify the workflow of using zotero or annotator with obsidian?

ghweili avatar Aug 18 '22 15:08 ghweili

This is really interesting and I would like to hear more input if you have had changes in the last 3 months to your flow.

arcticpinecone avatar Nov 13 '22 07:11 arcticpinecone