I am experimenting with using Omnivore (an open source read it later platform) with DT and so far I am really like the ability to import from Omnivore (via Obsidian) with my highlights intact. Omnivore is a better interface than DT for reading/highlighting and with DT I am able to permanently preserve my highlights.
This pulls in the full text of the article with highlights intact. And brings the highlights as separate text at the bottom of the file. It does not work well with pdfs, because I cannot get it to actually embed the file in DT the way it does in Obsidian, but it is workable.
Just putting this out there for anyone interested.
Obsidian does notembed the file in a document. In fact, it’s using file transclusion, already a feature of DEVONthink. However, they are also using their own (and rather unwieldy) proprietary syntax, according to your example here.
From Documents > Markdown Documents in the built-in Help and manual…
Sorry for the lack of clarity . . . I meant “file transclusion”. I read the help file several times and tried multiple variations but did not get any to work. Not a big deal because, I won’t probably use omnivore for pdfs anyway.
It does, it’s done by {{{content}}} - the part you’re referring to is probably ![[{{{fileAttachment}}}]] which is indeed doing transclusion of any fileattachment the Obsidian way.
Of note, the syntax @sacoward mentions in the original post is just the template from Omnivore that every article uses when synchronized from Omnivore to Obsidian. So, the format is defined by Omnivore, not Obsidian. Once saved into Obsidian, the article is in Markdown format with transclusion for the PDF.
---
id: 75ce0c2d-9b35-45ed-9f6b-76d93f273fd4
---
# Test Document
---
## Highlights
> This is a test!!!!!
---
![[Omnivore/attachments/75ce0c2d-9b35-45ed-9f6b-76d93f273fd4.pdf]]
“Omnivore” is the group the MD file is in and the pdf is located in the “attachments” folder
1. PDFs aren’t support for viewing via transclusion in DEVONthink. See the Help image I posted previously. Obsidian has implemented a PDF viewer, as I also mentioned.
“Omnivore” is the group the MD file is in and the pdf is located in the “attachments” folder
2. Your path is incorrect regardless. ![[Omnivore/attachments/75ce0c2d-9b35-45ed-9f6b-76d93f273fd4.pdf]] would be linking to a document in an attachments sub-subgroup of an Omnivore subgroup of the group containing the Markdown document.
![[/Omnivore/attachments/75ce0c2d-9b35-45ed-9f6b-76d93f273fd4.pdf]] would link correctly if the Omnivore group was in the root of the database.
Thank you for the clarification with regards to viewing pdfs via transclusion. I misunderstood your previous response and the details in the help document.
It is odd that the pathway is incorrect (in that it works in obsidian), but that makes sense.