Abhik
October 18, 2023, 6:19pm
1
What I’m trying to do
I am basically trying to replicate the same process shown in the video from Gwen of Faradey Academy at Minute 18:51
but not able to do so
Things I have tried
[Text-Test](#text-test)
the above code is not working in obsidian and the cursor is stuck at the same spot.
So, please, if anyone can help me out here? that would be great.
I edited your post to put your example in a code block so the forum doesn’t render it:
`[Text-Test](#text-test)`
Some links to have a look over:
So, you can link to a specific part of another note as follows…
[[Title of destination note#H3 header target]]
That’s a wiki link.
Is there such an equivalent for standard Markdown?
Here is a GitHub discussion on the topic. It suggests anchor targets in a HTML page can be reached via a Markdown link - but I’m interested in targeting pats of an #internal-links , a note.
Yes, I’ve tried it both ways - using a Github flavor heading id with an empty <div> id equal to the Obsidian heading id as well as an Obsidian heading id with an empty <div> id equal to the Github flavor heading id. And I tried it with the <div> before and after the heading.
Here is my latest test, using the Obsidian heading id with an empty <div> after the heading for Github. This works in Obsidian, as you would expect, but Github doesn’t pick up the <div> id like you would hope:
- [Pokemon O…
What I’m trying to do
I’m using standard Markdown links instead of Wiki links, which are Obsidian’s default, because I use MD docs in some other readers which don’t support wikilinks.
It seems that Obsidian does not properly follow Markdown links to headers like [my header](#my-header) when I have # My header in document. Instead it constructs following link: [my header](my%20header) which doesn’t really work outside Obsidian.
Unfortunately Common Mark does not specify exact syntax for intern…
Abhik
October 19, 2023, 5:43am
3
yes. But what is the code for that? I want to link two words present in the same markdown document. It is not working in obsidian. Is this a bug? Do I need to change settings? Do I need to install any plugins?
Abhik
October 19, 2023, 5:58am
4
Suppose you are reading an ebook with hundreds of pages. At the beginning of the book the all contents of the books are listed chapter wise. Now you want to read a chapter which is on page 200. So, to do it you click on the appropriate listed name or words which are there at the beginning of the book and you are taken to that chapter on the 200th page in the same book.
in my case mostly what is happening is that a new pdf is opening up instead of taking me to the 200th page of the same pdf.
You can’t link to individual words.
As mentioned in the links above, Obsidian supports [[wikilinks]] to headings (and blocks):
[[Title of destination note#H3 header target]]
but there’s nothing in the documentation for using Markdown links to headings.
You could try an example from one of the links above:
- [Pokemon Overview](#Pokemon%20Overview)
- [See Also](#See%20Also)
## Pokemon Overview
<div id="#Pokemon%20Overview"></div>
## See Also
<div id="#See%20Also"></div>
Here are two feature requests that seem similar.
Use case or problem
Since most people use GitHub to store their Obsidian Vaults, compatibility with GitHub’s markdown conventions should be paramount. Ensuring maximum compatibility with GitHub makes it much easier to share vault contents with others. Instead of needing to download and install Obsidian, clone the repository and open the vault locally, they can just view the contents in GitHub’s native UI.
Obsidian markdown is already extremely GitHub-friendly, but internal links to headers are…
Use case or problem
I use Markdown links (no Wikilinks) within my vault. I often create a TOC (Table of Content) to link to specific headings in the same file. I start typing [[, followed by # to see a list of headings in that file. These relative links work in general, but there are some cases when they don’t.
For example, if the note headings are:
## Header - Example
### A subtitle?
## Another Topic
### A subtitle
the links I get are:
- [Header - Example](#Header%20-%20Example)
- […
Linking to a specific page in a PDF is different from linking to a heading in a note.
For PDFs, this wikilink format should work ![[my.pdf#page=20]]