Can someone help me figure out how to get the Mdnotes {{yamlfoo}} placeholders to work? I have successfully modified other placeholders like {{title}}, but not {{yamltitle}}.
Exporting the citation will put nothing in the spots for {{yamlfoo}} placeholders. I exported two papers with no attached PDFs or extracted notes (see screenshot)
The green-boxed areas show the empty places where {{yamlfoo}} should be inserted (Edit on top, Preview on bottom). I didn’t take a screenshot, but the issue persists if I try to put the placeholders in the YAML heading instead.
I don’t think there’s anything wrong with the custom placeholders, but I copied them on the left to be sure. I looked through the mdnotes documentation, which says:
The preference name should be extensions.mdnotes.placeholder.<yourFieldHere> , where yourFieldHere should match a supported Zotero field. Keep in mind that Zotero fields are usually accessed using camel case, and should be (usually) formatted as fieldName , e.g. seriesTitle .
Since yamltitle or yamlauthorlist aren’t Zotero fields, how did other people get these placeholders to work?
Another query I have, is how to manage empty placeholders.
Currently an empty placeholder is deleting the paragraph line. Which brings the next inline dataview field up into the previous placeholder’s inline field.
By way of example, here there was no PDF placeholder, and the next line - Collections::.... was brought up into the PDF:: field, thus causing problems with Dataview tables calling up - Collections::
What would you suggest here? Can I modfiy the placeholder value with \n somewhere? Or do you recommend having a paragraph between placeholders?
sorry to bother you ask it here . but do you know how to stop zotfile adding the first line of the note in the title? it makes the titles long (problomatic with windows max character limit) and ugly. i am looking at config file and .pdfExtraction setting and there is no variable for that that i can see
Hey Cat—I am trying to set up a workflow for importing and annotating caselaw into Zotero/Juris-M and then into Obsidian for further processing. I see here you are using Juris-M. Is there a way to get case metadata to auto populate into Zotero/Juris-M using PDFs generated from Westlaw? I tried to get this to work, but Zotero/Juris-M was unable to find references when I added the PDF. Any help with this initial step of the workflow is much appreciated!
Yes - some sites allow case data to be auto populated as long as you use the web connector directly from the site, rather than from the pdf. Westlaw in the US does (at least with US cases), Hein sometimes gets it right and bailii.org does it. Others that I’ve used haven’t updated to allow that unfortunately.
Hi, thank you so much for this workflow, I’m loving it so far! I had a query about the backlinks used in [[Important]] for example with the highlights - what do you do with them once in Obsidian? Do you create a separate ‘Important’ md note?
Regarding the setting of extensions.zotfile.pdfExtraction.formatAnnotationHighlight, I wonder if it is possible to add a fixed ID/identifier to each highlight. Then, it’ll be easier to do block reference.
Although obsidian will automatically generate a block ID for us, this ID is changed after each extraction from zotfile/mdnotes. And then all links pointing to our highlights will fail.