I am suddenly having an issue with URI links not working in DEVONthink.
I have many Markdown notes with URI links like the following:
[Col 2.8](accord://read/LSB#Col_2.8)
This link no longer opens Accordance when clicked. (I’ve tested in both the Preview and Source modes.) I also checked the box in Settings > General > Interface - “Click on links opens them externally”, which I did not have checked before (but as I said, the accord:// links used to work fine without that box checked).
The accord:// links work fine from other applications.
In Source view, I’m able to right-click on the link in DEVONthink and select “Open in Accordance”, and that works. “Open in…” shows the current version of Accordance as the default application to open the link.
In Preview view, the right-click menu lacks any such “Open” or “Open in…” options.
Why does a simple click on the link not work (from either view)? Is there a way to get the Preview view to allow click or right-click opening of the link?
Welcome @chris89245
The accord:// links work fine from other applications.
Please provide more details than this. “other applications” has no concrete information to assess. And independently developed applications should not be expected to have feature parity.
This link no longer opens Accordance when clicked.
This implies it was working but no longer is??
Ugh! Why does every application demand you sign up for an account?!? Grrr…
I tested it in Drafts which uses Markdown as well.
Correct. It used to work back in the fall. Since then, I’ve upgraded to Sequoia. I’m running macOS 15.2 and DEVONthink Pro 3.9.8.
The odd thing to me is that DT shows the link above the preview pane when hovering over it, and shows “Open” in the right-click context menu, but doesn’t open the link when clicked. If I click on a link to another DT document (an internal link), that opens as expected. And in the Preview viewer, I can’t do anything to make the accord link open. Clicking would be expected to open the link, especially with the Setting to “Open external links” turned on.
Does clicking on such a link in a TextEdit document work?
I just tested that (the accord:// link when appearing in a TextEdit document), and yes, it does work when simply clicked upon.
I know about the https://accordance.bible
link pattern, and yes, that always sends you to a web browser, not the desired behavior, as you note.
The syntax for the Bible reference to go directly to Accordance is
[2Pet 3.5](accord://read/LSB#2Peter_3.5)
I get that from right-clicking on the verse number in Accordance and selecting “Copy as Location URL.”
I wasn’t using colon between chapter and verse anyway; I use a period. But I did try changing the punctuation between chapter and verse to %3A but it didn’t work from DEVONthink. Clicking on the link (containing %3A or period) in Preview view just highlights whatever section of the reference I click upon, but doesn’t take me to Accordance.
I have to update my OS and that will cause a reboot. Maybe this is a transitory glitch and will resolve itself after today’s reboot. I did restart DEVONthink back before my first post, of course, and when that didn’t help, I posted here.
Thank you very much for the ideas.
You’re welcome.
But I did try changing the punctuation between chapter and verse to %3A
%3A
is a percent-encoded colon (:).
[2Pet 3.5](accord://read/LSB#2Peter_3.5)
I don’t know how you’re getting a dot delimiter for the chapter/verse. It defaulted to a colon when I installed and tested it.
I have to update my OS and that will cause a reboot.
I hope you’re rebooting more frequently than just for OS updates.
SOLUTION
(Of course the fault is found occupying the chair facing the screen, as is often the case in tech support issues.)
In Preview view, clicking on an accord://read…
link goes to that verse in Accordance but in the background. The user must go to Accordance to see the verse.
In this view, there is no right-click choice to Open the link.
In Source view, clicking on an accord://read…
link places the cursor for editing, as it should. Right-clicking on the link allows the user to choose “Open in Accordance” from the ensuing menu (or “Open in…”). This brings Accordance to the foreground and goes to the verse referred to in the link.
1 Like
(Of course the fault is found occupying the chair facing the screen, as is often the case in tech support issues.)
Okay, but YOU said it, not me 
In Preview view, clicking on an accord://read…
link goes to that verse in Accordance but in the background . The user must go to Accordance to see the verse.
In this view, there is no right-click choice to Open the link.
Shift-clicking a URL scheme opens it and switches to the external application.
Wow! Shift-clicking does work to open the link & switches the foreground application.
Thank you for that tip!