Embed Markdown in Markdown

I like that I can embed image and PDF within a markdown file via

How can I embed Markdown within a Markdown file?

For example, I have a Markdown file, reference.md. And I have another Markdown file, journal.md. While I am writing in this journal.md, I want to have reference.md content appear in journal.md, by using ![reference](item-link-of-reference.md). The contents of reference didn’t appear.

If the reference is a pdf file, say reference.pdf. With ![reference](item-link-of-reference.pdf), the contents appears nicely.

Go to DT > Help > DEVONThink 3 Help and search for Transclusion.

However, because the help doesn’t perhaps deal as fully as it might with transclusion, what you need to do is to insert something like this in your document:


(where the link is a link to the document you wish to include).


1 Like

Thanks a lot. This solves my problem perfectly.

After reading the Transclusion, besides using x-devonthink-item link, there are two other ways using the document’s name (with or without extensions):


Also, Obsidian syntax:

Yes, indeed. I sent my response rather quickly and didn’t want to be too verbose!


The quick response definitely help me to get the problem solved. And, the pointer to Help let me understand more about what other things I can do with Markdown in DevonThink.

I am new to both DevonThink and Markdown, less than 6 months. Still learning.

Appreciate your help. Thanks.