perhaps the typedlink(tag foo) pagespec isn't so useful

master
http://smcv.pseudorandom.co.uk/ 2010-04-03 00:53:59 +00:00 committed by Joey Hess
parent 0dad28b353
commit c4a838b33a
1 changed files with 9 additions and 0 deletions

View File

@ -140,3 +140,12 @@ without too much transitional trouble. --[[Joey]]
> care either way; [[Jon]] expressed concern about people relying > care either way; [[Jon]] expressed concern about people relying
> on the current semantics, on one of the pages requesting this > on the current semantics, on one of the pages requesting this
> change. --s > 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]]