Things I have tried
New to Obsidian. Using it so far on iPhone and iPad Just got over the hump of getting started from a post on Reddit about setting up a clean Bear-like installation. I’m working with a set of markdown files originally created on Vim. Lots that still mystifies me.
E.g., I name files with an alphanumeric ID followed by a short meaningful text string. When I open a file by clicking on a link in an open file, the contents of the file do not display. Nor does the text portion of the filename. Only the alphanumeric ID.
What I’m trying to do
Please add screenshots, so it can be easier to understand your situation.
This is what the file looks like when opened from the file explorer:
This is what it looks like when opened from a link. A new file with only the number portion of the file name:
I opened the file by tapping on the link in the source file. Perhaps there’s another way I should be using?
What does the link look like?
The relevant link is the top one (“reasoning”)
Perhaps I should add that these files and links were created using Vim with markdown typestyle. Also, that the method I’ve used in attempting to follow a link is tapping on it. Perhaps there’s and Obsidian command I should be using?
Sorry, I meant what does the links markup look like?
Is this what you mean by markup?
Yes. So you’re using Markdown links instead of internal links. I think that means you have to URL encode the URL (the part in the parentheses). In this case that means putting
%20 instead of the space. You can get the encoded link of a note by opening its menu and selecting
Get Obsidian URL (tho besides encoding this will also give a longer link).
Thanks. I’ll have to check it out. As you’ve undoubtedly notice, I’m a newly with LOTS of questions. That said, this strikes me as not “pure markdown,” which is what I thought Obsidian was.
So, I checked out “Obsidian URL.” Also tried out the “Insert Markdown Link” command. Likely I don’t understand yet, but what I see at this point concerns me: markdown links don’t function as I understand they should: with the cursor on a link typing Enter takes you to the linked note.
The Obsidian URL has information that is useless to me: I wan’t the link/file name to be related to the content of the note. The Obsidian URL provides information related to the way the app functions. I want the app to function. I don’t want irrelevant-to-me code, that doesn’t tell me anything about the content of the file, muddying up file names.
On the desktop there’s a hotkey that makes the markdown link work: Option-Enter. Can’t do that in the iOS/iPadOS apps.
I hope the problem is just that I don’t understand.
URLs in general require spaces and some other characters to be encoded. That’s not specific to Obsidian — you can see the same thing anywhere online when a file with spaces in the name is linked to. I suggested using the Obsidian URL feature because it encodes automatically. You can just manually type
%20 instead of space and it will work (but if you use other symbols that need to be encoded, you’ll need to translate those too).
Obsidian uses extensions to Markdown, as do many (most?) Markdown editors (for better or worse).
Thanks. With Vim with markdown links are as I showed them earlier, in this thread I believe. I’m gonna have to check in with people who use Obsidian for zettlekasten, especially those who use Luhmann-syle note numbering, e.g., 4.21a1b.
This is a bit tedious, but: You could look thru
Hotkeys to find the command that Option-Enter triggers, then assign that command to a toolbar button in
Mobile. There is a chance, tho, that it’s just a thing Obsidian does and isn’t in the Hotkeys list.
The command is Follow Link Under Cursor. I’ve added it to the Toolbar. It seems I was wrong about it opening files that don’t have the Obsidian URL. I would swear that displayed the linked file on a link without the Obsidian URL when I tried it yesterday. But on my tries today on both mobile and desktop apps it is doing the same thing that tapping/clicking on the link does—opening a new empty file with an altered name.
Thanks for trying to help.
You could delete the part that you don’t need. Using a menu item and then selecting and deleting isn’t the smoothest flow, but it’s an option.
The workflow on Obsidian is turning out to be cumbersome for my tastes. Hoping I just need more experience. Super attractive on the surface, but when I get into it not quite what I expected.
Again, greatly appreciate your patience with me.
Glad to (try to) help.
You might search the forum for
markdown links to see if anything helpful turns up. I know I’ve seen related discussions but I don’t recall the details of any. I’m not up on the finer points of how Obsidian deals with Markdown links because I use the wiki-style links ones (the syntax isn’t as widely-recognized as Markdown but it’s spreading, and since it just means "a file in the vault named this, I can use them to find the linked note with little trouble even without Obsidian).
Oh, I just remembered — if you turn off
Files & Links >
Use Wikilinks it will make it so when you type the wiki syntax it will turn into a correct Markdown link. Sorry I didn’t think of that earlier.
I’ve posted on the Obsidianand and Zettelkasten subreddits on “following markdown links.” I’ll check around here too.