subl protocol adds subl://
protocol
so you can open file in Sublime Text from browser
This package is available over package control (search for subl protocol
)
Syntax will be somthing like this
<a href="subl://absolute/path/to/file.txt:10">click to edit file</a>
Note: Don't use backslash (\)
Note 2: on Windows it will ask for permissions when installing and uninstalling because it needs to edit registry
Note 3: on Linux you need to have subl
in your path
Note 4: If you don't know how to install package from package control click here