Blocked recursion in DTTG 4's MD file

I inserted a picture file with the same name as the MD file into the MD file, which showed normal in DT 4, but Blocked recursion in DTTG 4. In addition, some Wikilinks are not displayed in DTTG 4, such as FMEA, SPC, etc.

  • Why are you using the transclusion syntax for linking images instead of the native Markdown syntax, e.g., ![title](image.jpg) ?

  • Circular references in transclusion should be avoided (and it’s blocked in DEVONthink To Go 4) but it appears there’s an issue beyond that. I have confirmed a problem when linked assets are in the same group as the Markdown document and have filed an issue on it.


Your screen capture is not showing an issue with the WikiLinks. Please post a screencast of the behavior.

Thank you for reminding me of the choice of grammar. I am used to Obsidian’s Drag and Drop. This file is imported from Obsidian, and I am ready to transfer from OB to DT to take notes. It seems that I need to review the native grammar of Markdown again.

All the blues in the picture below are Wikilinks (in DT 4). The same file above is in DTTG 4, and only one Wikilink is displayed (please ignore the blue part in DTTG 4 is different from the description of DT4. I have modified it in DTTG 4, has not been synchronized to DT 4, and others have not been modified)

No worries and I guessed maybe you were an Obsidian user :slight_smile:

What are your WikiLinks settings in DEVONthink To Go?

I believe you’ve encountered the same issue I described two days ago: Some items have extension added to their names => wikilinks don’t work.

I can’t read Chinese, but I can see that some of your Markdown files have `.md`added to their name. I bet those are the ones where your wikilinks don’t work

Yes :joy:

Yes!
I saw your article yesterday, but I haven’t noticed this problem yet. When you reminded me, I found that almost all Wikilinks could not be displayed normally in DTTG 4. :+1:

Last time, as per your suggestion, it was replaced with the syntax format of ![title](image.jpg), and both DT 4 and DTTG 4 can be displayed normally.

The newly created file today cannot be displayed normally. The reason has not been found yet. At first, I thought it started with Chinese characters, but it’s the same with English characters. It can be displayed by changing it to a way with a path.

another case

Below is the file created before. It can be displayed normally in both ways (in DT 4). (A temporary solution with a path was added as a demonstration, that is, it was edited) However, after this file was synchronized to DTTG 4, the one without a path could no longer be displayed.

Markdown links need to have a path, and also have to be URL-escaped (spaces in filename or path replaced with %20, plus replacements for other special characters). Your markdown links have spaces in the path.

That’s why I much prefer wikilinks.

Wikilink syntax for images (![[image.png]]) does work in DTTG - unless the image file has acquired an extension after its name. It’s the same bug I described for markdown files.

Please check in the file list in DTTG whether the images that aren’t displayed with wikilinks have .png after their name. I bet they do.

Thank you for your reminder and suggestion. If Markdown links need to have a path, and also have to be URL-escaped, then Wikilink’s syntax for images is indeed a more concise and convenient way.

I confirmed the extensions. One picture has them and the other doesn’t. In my DTTG 4 database, the extensions of most pictures are not displayed. In the Settings of DT 4, they are always displayed.

I will try the effect on DTTG 3 tomorrow :smiley:

Good news: I’ve found a workaround

EDIT: very embarrassing: it does not work, it makes things worse, actually.

Thanks for sharing.

It seems we’ll have to wait for the next version update.

P.S.: DTTG 3 has the same issue. I only started using DT & DTTG as note-taking tools recently, so I didn’t notice this problem before.