This will be part of a larger url-module. It allows to create links:
Syntax:
->alias
Will become: <a href="url to doc. with alias alias" title="title of d. with a. alias">title of d. with a. alias</a>
~>alias
Will become: url of document with alias alias
->"Some title"
Will become: <a href="url to doc. with title ’Some title’ title="Some title">Some title</a>
~>"Some title"
Will become: url of document with title ’Some title’
"link"->alias
Will become: <a href="url to doc. with alias alias" title="title of d. with a. alias">link</a>
"link"->"Some title"
Will become: <a href="url to doc. title ’Some title’" title="Some title">link</a>
"..."~>...
Does not make sense
a good example of modx plugins
its easy to make code and add class