On Sun, 26 Oct 2014 17:01:48 -0700 (PDT)
karh...@gmail.com wrote:
> Hi everyone,
>
> I need a feature which (I think) may not be currently supported by
> Leo. Please comment on the chances that it may be implemented in the
> future releases.
>
> What I am looking for is the ability to click on HTML-style
> hyperlinks (word-based anchors) directly within the editing pane,
So just to be clear, currently you can Ctrl-click
https://docs.python.org/3/library/http.server.html#http.server.BaseHTTPRequestHandler.responses
or any other link and Leo will cause your system web browser to open
that - unless it's a link like
file:///home/tbrown/some/path/myfile.leo#Top%20Node->Next%20->Target%20Node
which would cause Leo to jump to that node in that file.
So that's there - I think you're asking for "word-based anchors",
meaning that rather than the above verbose and ugly urls, you see only
short phrases like "responses" or "Target Node"... am I right?
Leo doesn't do that but it would be extremely useful if it did. Once
the basic machinery was in place we could have all kinds of responses
bound to short, visually low impact in-text links.
Just not really sure what the most robust / flexible way to implement
it in the body editor would be. The body editor's a text editor,
having separate data associated with specific pieces of text is not
what text editors do, it's what wysiwyg editors do. Leo supports
http://ckeditor.com/demo as an alternate editing environment, but then
the underlying pages are in HTML...
Cheers -Terry