[pmwiki-users] New template expression markup....

Hans design5 at softflow.co.uk
Tue May 1 06:37:16 CDT 2007


Tuesday, May 1, 2007, 11:28:31 AM, The Editor wrote:

> ZAP has the ability to edit sections (delimited by anchors) so it
> would be fairly trivial to pull the stv's back into a text box and
> edit them just as they appear above (I'd just need to handle the
> trailing section line better).

If you wan t to use anchors, why not use an ending anchor as well:

[[#id1]]
....
....
[[#id1end]]

PmWiki uses those quite commonly.

> This gives a nice clean source that should be searchable, yet display
> fully formatted without needing pagelists.  Also the code for handling
> the STV's will be quite a bit simpler not using hidden ptv format.

I don't see how this would be searchable other than normal text
search. I don't see you addressed the problem that we are not using
proper PTVs. What you give as example would normally still be a PTV,
even though not a hidden one.

Or do you mean just to create these and call them STVs, sufficiently
different in pattern as not to be seen as PTVs? Then we get something
we can call a STV which is not a PTV. The script will process these,
but they will not be processed by any PTV manipulating function or
script. So this is just a variation on Feral's idea, but not using
parameter=value inside a directive markup.


  ~Hans




More information about the pmwiki-users mailing list