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”.