MD Preview not showing Wikilinks

Maybe operator error… but see screen shot for detail. I am using the latest version of DT downloaded today. Previous version did the same thing.

I think this is because the second link refers to a file that doesn’t exist yet. Can you check?

I just created a test document and that didn’t show the same behavior. If I then invalidate the second link it disappears.

Maybe, but it has more to do with the first use of preview. Now I carry out the same actions I get

I deleted the files for the day before and the day after.

I would also point at that clicking on these links don’t work. That is they don’t try and create a new document with the name in the link. Which is what I would expect. The links are not clickable in the MD either unless I put a space between the display text and link as follows… and then they are not displaying as I would expect in the MD.

This isn’t a DEVONtech issue. You’re trying to do something beyond the scope of a header in MultiMarkdown. This is easily confirmed by opening the same document in MultiMarkdown Composer (and I’d strongly recommend you start there when you think there’s a Markdown issue)

Which part do you mean? The links not working? The MD not displaying in the preview?

I don’t really understand what you are showing me. The markdown displays in Drafts, Bear, Obsidian, Visual Code Studio. But I was using markdown that was described to me in these forums. Initially my only comment was that it did not display correctly ( it turns out intermittently) in the DT MD Preview. Later I discovered the links don’t work correctly.

To have the link work in MD in DT there has to be a space between the [display name] ([[link]]), BUT if you that the link does not display correctly in the preview. If you remove the space, the link displays as expected in the preview (except in certain situations) but fails to display as a link in the MD source.

Tuesday, August 27, 2024 (240)


[Yesterday]([[Monday, August 26, 2024]]) [Tomorrow]([[Wednesday, August 28, 2024]])

16:47

Please read my original comment again.

The issue with the second [[]] is that it conflicts with the syntax for specifying header id. See MMD syntax.

1 Like

You cannot directly compare what is displayed in these apps to DEVONthink unless they were using MultiMarkdown as I just mentioned.

And the links work.

I was just trying to be helpful.

And the app you recommended.

And the app you recommended.

You can see the rendering is incomplete in MultiMarkdown Composer, so it should be unsurprising it doesn’t work in DEVONthink.

PS: WikiLinks aren’t a MultiMarkdown feature; they are part of DEVONthink.

PPS: If the WikiLinked documents exist, DEVONthink would show the links in the section header but that is due to our WikiLink implementation.

wikilink in header

But what you’re trying to do with named WikiLinks is outside the norm. Development would have to assess the feasibility and broader appeal.


This syntax works in DEVONthink but requires (1) documents that already exist and (2) URL-encoded strings…

Development would also have to assess if this is intended and desirable.

Thanks.

Just something to consider…

  • It’s not the future, i.e., this is not part of the current release.
  • It is not stated if it’s even slated for a DEVONthink 3.x release. Future may be further off than you may imagine.

You’re welcome.

1 Like