[pmwiki-users] TextFormatting: [+ big +] vs. '+ big +'
Christian Bartolomaeus
bartolin at gmx.de
Thu Jun 22 17:32:15 CDT 2006
Hi,
I always used [+ +] and [- -] for bigger or smaller text. That's what
Site/EditQuickReference [actually it was the former
PmWiki/EditQuickReference] told me to do when I started using PmWiki
and I never thought about it anymore.
Just today, after someone asked on pmwiki-users-de, I noticed that the
guiedit button for "small text" uses '-small text-' and the button for
"big text" uses '+big text+'.
I took a look at scripts/stdmarkup.php and learned that the different
methods generate different HTML-Output:
[-text-] -> <small>text</small>
[+text+] -> <big>text</big>
'-text-' -> <span style='font-size:80%'>text</span> # or similar
'+text+' -> <span style='font-size:120%'>text</span> # or similar
The ChangeLog says that '- -' and '+ +' were introduced with Version
2.0.devel11 in october 2004.
Now I took a look at the Documentation:
* EditQuickReference only mentions [- -] and [+ +]
* BasicEdition also mentions only [- -] and [+ +]
* MarkupMasterIndex mentions both methods but doesn't give further
informations
* TextFormattingRules gives [- -] and [+ +] as the "main" method and
mentions '- -' '+ +' as "other styling"
So my question is: Is there a recommendation which method to use? If
so, I would suggest to change the Documentation accordingly. (I can do
that next week.)
Thanks
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20060623/deab4962/attachment.bin
More information about the pmwiki-users
mailing list