diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-03-31 06:55:12 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-03-31 06:55:12 +0000 |
commit | d73eb7d9b2569ebb44fc79480b6ec2d8c1faea5d (patch) | |
tree | a7a268140d43e358dd8e1cb3d5c29deef5ab1251 /mdwn2man | |
parent | 08d6f422a7848a2462418be58fcb186f5f2cec03 (diff) |
* Add a templates page to the basewiki. It will automatically list all
available templates. Rename the old templates page to wikitemplates.
* Include the note template in the basewiki.
* Add a popup template in the basewiki. CSS based on some by Martin Krafft.
* Make the note, popup, and plugin templates detect missing variables and be
self-documenting, listing the available variables.
Diffstat (limited to 'mdwn2man')
-rwxr-xr-x | mdwn2man | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ my $section=shift; print ".TH $prog $section\n"; while (<>) { - s{(\\?)\[\[([^\s\]]+)\]\]}{$1 ? "[[$2]]" : $2}eg; + s{(\\?)\[\[([^\s\|\]]+)(\|[^\s\]])?\]\]}{$1 ? "[[$2]]" : $2}eg; if (/^#\s/) { s/^#\s/.SH /; <>; # blank; |