Hi Michael,

Thank you for your suggestion. However, I would prefer not to clutter the text with repeating the protocol there. Also, the example I gave is mainly for illustration, in the way I use it, the description would not show the filename, but some other text.

Chris

On 2011-04-30 00:18, Michael Brand wrote:
For links with a description I always just repeat the protocol tag
there manually:
[[file://path/to/my file][file: myfile]]
[[http://www.example.com/path/to/my file][http: myfile]]

Together with the space after the colon this shows, also immediately,
if you look only at the link description or at the link itself:
[[file://path/to/my file]]
[[http://www.example.com/path/to/my file]]

This color-independent solution works even if colors would not be
available occasionally like with some terminal configs.

Michael

2011/4/29 Christian Wittern<cwitt...@gmail.com>:
In the archives, I have seen on and off references to a new, extensible
syntax that would go beyond /italic/, *bold* and =code=, but I have seen no
traces of seeing it implemented.

For the time being, therefore I am settling on having different linktypes
coming up in different colors, which I hope is doable, but again, I found no
immediate solution.  I wonder if somebody has an idea of how to go about
this.  What I would like to see is that, for example:

[[file://path/to/my file][myfile]]  comes out visibly different from
[[http://www.example.com/path/to/my file][myfile]] , for example the one in
red, the other in blue.


--
 Christian Wittern
 Institute for Research in Humanities, Kyoto University
 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN


Reply via email to