link params

Common parameters where links are created.

  • mode render target page in this mode (selects template).
  • format render target in this format (‘data’ is a special format meaning ‘file format’).
  • sharp can be ‘[attribute]’ or ‘true’ or some text
  • sharp_in real target page.
  • in same as ‘sharp_in’, but only for the “link” tag.
see link, show_path

Let’s say we want to link to post 35 named ‘funny’ :

link on the current page
<r:link sharp='true'/> default anchor : #node35
<r:link sharp='hey'/> link verbatim : #hey
<r:link sharp='[name]'/> use name for anchor : #funny

link to a different page
<r:link/> simple link : post35.html
<r:link sharp='true' in='parent'/> go to post35's parent and anchor : page12.html#node35
<r:link sharp='[name]' in='project'/> go to post35's project and use name : project12.html#funny

When writing a post, you can create the same types of links using this syntax :

"":35#[parent/name]

This creates a link to the parent of post35, with an anchor to #funny (funny is the node’s name). The link’s text is the post’s title which could be “a funny story”.