Clickable links¶
Leo syntax colors clickable links in the body pane. They have four forms:
Error messages produced by flake8, mypy, pyflakes, pylint, python:
Some of these tools produce clickable links in the log pane when run within Leo. Some do not.
When running these tools outside of Leo, copying an error message from the console to Leo’s log pane will create clickable links in the log pane. Control-clicking these links will select the proper node and line provided the outline contains an
@<file>
node for file mentioned in the error message.UNLs based on gnxs (global node indices):
Links of the form
unl:gnx:
+//outline#gnx
open the given outline and select the first outline node with the given gnx. These UNLs will work as long as the node exists anywhere in the outline.Note:
outline
is optional. It can be an absolute path name or a relative path name resolved using@data unl-path-prefixes
.Leo’s headline-based UNLs, as shown in the status pane:
Headline-based UNLs consist of
unl://
+//outline#headline-list
whereheadline-list
is a list of headlines separated by-->
.Note:
outline
is optional. It can be an absolute path name or a relative path name resolved using@data unl-path-prefixes
.Web URLs: file, ftp, gopher, http, https, mailto, news, nntp, prospero, telnet, wais.
For example, Leo’s forum: https://leo-editor.github.io/leo-editor/