[pmwiki-users] AsSpaced PTV (definition list)

Petko Yotov 5ko at 5ko.fr
Thu Aug 9 00:13:44 CDT 2012

Mark Stephen Barralet writes:
> I want to display the Name part of a PTV as spaced. eg:
> :MyVarOne:This is my first PTV
> should display as:
> My Var One
> 	This is my first PTV
> I think this should be possible with markup(). Am I looking in the right  
> direction or is this a non-trivial mod?  I am only just starting to  
> understand how markup() works, and I am new to PHP and HTML.

It looks like it is possible. Add near the end of local/config.php this  

  Markup('spaceDT', 'inline', "/^: *($WikiWordPattern) *:/me",


More information about the pmwiki-users mailing list