]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/matching_different_kinds_of_links.mdwn
perhaps the typedlink(tag foo) pagespec isn't so useful
[git.ikiwiki.info.git] / doc / todo / matching_different_kinds_of_links.mdwn
index f8796652e8e75b499af64f46a3dbd40c9ccc3e0b..4f52ade52287634e7b92a89dac15f8d83b5b3ef8 100644 (file)
@@ -140,3 +140,12 @@ without too much transitional trouble. --[[Joey]]
 > care either way; [[Jon]] expressed concern about people relying
 > on the current semantics, on one of the pages requesting this
 > change. --s
+
+I might have been wrong to introduce `typedlink(tag foo)`. It's not
+very user-friendly, and is more useful as a backend for other plugins
+that as a feature in its own right - any plugin introducing a link
+type will probably also want to have its own preprocessor directive
+to set that link type, and its own pagespec function to match it.
+I wonder whether to make a `typedlink` plugin that has the typedlink
+pagespec match function and a new `\[[!typedlink to="foo" type="bar"]]`
+though... --[[smcv]]