[pmwiki-users] TextFormatting: [+ big +] vs. '+ big +'
tmdowling at gmail.com
Thu Jun 22 19:56:53 CDT 2006
On 6/22/06, Christian Bartolomaeus <bartolin at gmx.de> wrote:
> 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
> * 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.)
Keep in mind that while [-- --] = smaller and [+++ +++] = even more
bigger (technical term there), you can't amplify that way if you use
'- -' and '+ +', i.e. '-- --' doesn't make it smaller.
More information about the pmwiki-users