Link in codeblock

Hello everyone. I’ve encountered a “ceiling” in Obsidian, which is a reference to a certain text in a codeblock. Since I love structured information, I use the Obsidian Tabs and Obsidian Columns plugins. But this is primarily a codeblock, so I can’t link to individual text.
I’m thinking of creating a plugin with the following logic:

  1. Create a codeblock with a specific tag, for example:
int main()
{
int a = 2; // ~={link:id100}commeтt=~ text to be referenced
}
  1. We parse this codeblock, add the position of our text, as well as in which file our text is located (I don’t know where in the Obsidian API you can store data :slight_smile: ).
  2. Implementation of “our” transition using the saved data from the parsing, that is, we have something like [[>id100]], then we look for the file and the location of our text, and “artificially” open the file and go to our line (more precisely, make sure that the line is in the middle of the screen).
  3. You can even highlight our text in some way.
  4. Perhaps you can integrate this “crutch” into the view graph

Don’t judge harshly, this is just an opinion. But I have to realize it by any means, even if it requires an rtx5090. So tell me, is it possible to realize this at all?

I will be grateful for any answer. (sorry for my English :slight_smile: )