Sublime Forum

Link to text in another file

#1

In sublime, I can add link to line number using the format below.

[Link Title](File.md:11:2)

With keybinding Alt+O, I can go to the line number (and column number). However I want to create a link like this.

[Link Title](File.md "References")

However, after pressing Alt + O, Sublime will only open the file. I want it to search for the word “References” and go to the first occurrence.

0 Likes

#2

alt+o (at least on Windows/Linux) does open markdown links by default. Is this feature being provided by a plugin for you?

0 Likes

#3

Yes, I am using this plugin.

It stated in documentation about the link format that Sublime Text 3 uses. However, may be because I have Sublime Text 4, it’s not working.

0 Likes

#4

Sublime Text 4 is backwards compatible with 3. This is just a bug in that plugin. I’ve put in a pull request to fix it: https://github.com/aziz/PlainTasks/pull/437

3 Likes