Skip to content
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

feature requesting: query callouts blocks (with tags) instead of the whole page #38

Open
ghweili opened this issue Aug 18, 2022 · 0 comments

Comments

@ghweili
Copy link

ghweili commented Aug 18, 2022

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 query language/dataview, 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant