DTG internal link doesn't work

Hello. Have a markdown document created on Macbook that has inter-document link created via copy section link. Works when clicked on link on Macbook but doesn’t work when tap on link on DTG - look like DTG opens another copy of same document but won’t go to section below. Is it a limitation on DTG?

Example.

Heading One

Try to go to Heading Three (using dummy link here)

Heading Two

More text.

Heading Three

This is section I want link above to jump to

The source of the Markdown would be helpful.

1 Like

That’s the rendering. What’s the source?

Apologies. Non techie person, what is source?

The actual code. Select the document and tap the Edit link in the upper right.

Did more testing, both these inter-document links work on DEVONthink but won’t work on DTG.
x-devonthink-item://C753B033-4135-4BC4-B011-42253D738261?section=markdate
x-devonthink-item://C753B033-4135-4BC4-B011-42253D738261#markdate

And are the documents these links point to available in DTTG?

Yes. Have {{TOC}} and it works when click on TOC heading links, taking me to that heading on DTG. Can see those links when editing document

The result of markdown is formatted text. Usually rendered HTML, like a web page in a browser. “Source” means the plain text including markup characters.

Discourse (the software running this forum) also uses markdown to format text. So if you just copy & paste directly, we will see the rendered HTML, not the markdown itself. Use the </> button in the text box, which creates a code block:

## Example

This is **raw** markdown.

The markdown syntax was [originally created](https://daringfireball.net/projects/markdown/) by John Gruber.

The code block has syntax highlighting, which makes code easer to read. The default seems to be AppleScript, which can be confusing. You can specify a syntax after the opening backticks: ```txt for no highlighting at all, or ```md for markdown.

1 Like

yes, already attached 17 hours ago above

DEVONthink and DEVONthink To Go don’t use the same text engine. Mobile development will have to look at this. Thanks for your patience.

ok

@eboehnisch @BLUEFROG any update on ETA for this to be fixed on DTTG? Thanks

The issue has been fixed and will be included in the next update.

1 Like

Thanks!

It’s not clear if you want to link to a section in a different document, or just in the same document (like with ‌{{TOC}}).

If you want to link to a heading in the same document, I think it makes more sense to use standard MultiMarkdown syntax. That already works, no need to wait for a fix. And it’s compatible with other markdown editors that adhere to the standard.

If the link text is the same as the header, just surround it with brackets: Link to a ‌[Heading]. If you want the link text to be different from the destination heading, use a variation of the normal link syntax: ‌[link text](#heading).

For long/complicated headings, the latter option can be tricky. You can instead specify a custom id for a heading. Simply add [customid] at the end:

Some text with a [link](#md).

## Mark Date [md]

Updated to latest DTTG. Still doesn’t work and it’s worse, tapping on internal link opens same document in EDIT SOURCE mode… Tapping on internal links with {{TOC}} open up files in EDIT and jump to {{TOC}} line. Files without {{TOC}} open up files for EDITING and jump to heading of that internal link… Automatically changed into SOURCE mode is dangerous, could have accidentally overwrite or delete information without knowing.

Works perfectly on DEVONthink but doesn’t work on DTTG. I’m going to give up on DTTG and bring laptop when traveling… Have a lot of md files with internal links. Will check back forum in few months, hope it’ll be fixed by then…

identical bug. DEVONthink team rushing update out? no time to test?

We are currently looking into this issue.

1 Like