aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimosesu@ead03211e78f6505c65266495ae6bf9c4e069293 <timosesu@web>2015-12-10 11:26:59 -0400
committeradmin <admin@branchable.com>2015-12-10 11:26:59 -0400
commit5aeaafac7ad106e0d6a90625def01154e3abc992 (patch)
tree748719f8280bfb5b5d215e68cc2bd491f3ec0633
parent13361d5471b4dcd06c479e3ebead3be719aa6054 (diff)
downloadikiwiki-5aeaafac7ad106e0d6a90625def01154e3abc992.tar
ikiwiki-5aeaafac7ad106e0d6a90625def01154e3abc992.tar.gz
-rw-r--r--doc/ikiwiki/wikilink/discussion.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ikiwiki/wikilink/discussion.mdwn b/doc/ikiwiki/wikilink/discussion.mdwn
index 3ba14295b..3e33d12cb 100644
--- a/doc/ikiwiki/wikilink/discussion.mdwn
+++ b/doc/ikiwiki/wikilink/discussion.mdwn
@@ -85,7 +85,7 @@ Is it possible to refer to a page, say \[[foobar]], such that the link text is t
> Not yet. :-) Any suggestion for a syntax for it? Maybe something like \[[|foobar]] ? --[[Joey]]
-> I am thinking that it would be useful to parse parts of one wiki page into another. Here something like [[page=anchor]] would be really nice to simply parse the content of that section, as opposed to [[page#anchor]] which only creates a link to that section. -- [[Timoses]]
+> I am thinking that it would be useful to parse parts of one wiki page into another. Here something like `\[[page=anchor]]` would be really nice to simply parse the content of that section, as opposed to `\[[page#anchor]]` which only creates a link to that section. -- [[Timoses]]
I like your suggestion because it's short and conscise. However, it would be nice to be able to refer to more or less arbitrary meta tags in links, not just "title". To do that, the link needs two parameters: the page name and the tag name, i.e. \[[pagename!metatag]]. Any sufficiently weird separater can be used instead of '!', of course. I like \[[pagename->metatag]], too, because it reminds me of accessing a data member of a structure (which is what referencing a meta tag is, really). --Peter