DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:bbcode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:bbcode [2020-06-04 16:26] StarArmyplugin:bbcode [2020-11-09 11:39] – version upped andi
Line 6: Line 6:
 email      : freaks@dokuwiki.org email      : freaks@dokuwiki.org
 type       : syntax type       : syntax
-lastupdate : 2017-01-22 +lastupdate : 2017-01-23 
-compatible : >= Lemming, Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Greebo, !Hogfather+compatible : >= Lemming, Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Greebo, Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 60: Line 60:
 Text size: Text size:
  
-  [size=90%]smaller text[/size]               attribute: CSS units (pxem%, ...), single-digitor keywords like small; can be optionally quoted+  [size=90%]smaller text[/size] 
 + 
 +Attribute can be: 
 + 
 +  * [[https://developer.mozilla.org/en-US/docs/Web/CSS/font-size|CSS named units]] (eg.: ''18px''''14pt''''2em''''120%''
 +  * [[https://developer.mozilla.org/en-US/docs/Web/CSS/font-size|CSS size keywords]] (''small''''large'', etc). 
 +  * single-digit ''0'' to ''6'' 
 +  * Can go quoted or unquoted. 
 + 
 +The single-digit option such as ''size=1'' , which map from "xx-small" to "xx-large", is offered for compatibility with eg.: vBulletin-based forums. 
 + 
 +For a more technical rundown check [[https://developer.mozilla.org/en-US/docs/Web/CSS/font-size|CSS font-size property]] (Mozilla Developer Network).
  
 Text color: Text color:
  
-  [color=red]colored text[/color]             attribute: color name, "browser-colorname#fff[fff] or rgb(255,255,255); can be optionally quoted+  [color=red]colored text[/color] 
 + 
 +Attribute can be: 
 + 
 +  * A CSS base color name, such as ''color=red'' 
 +  * An extended CSS color name ("SVG" or "X11" color names) 
 +  * A CSS color tuple such as ''color=#fff[fff''  
 +  * A CSS color formula such as ''color=rgb(255,255,255)'' 
 +  * Can go quoted or unquoted. 
 +  * The spellings ''color'' and ''colour'' are allowed. 
 + 
 +For a more technical rundown check [[https://developer.mozilla.org/en-US/docs/Web/CSS/color|CSS color]] (Mozilla Documentation Network) and [[wp>X11_color_names]].
  
 To learn more about the supported text size and color formats, you can check [[http://ryan.gulix.cl/tests.doku/current_/doku.php/bbcode|the Demo page for the BBCode Testing Branch]] (courtesy of [[user>ryan.chappelle|Luis Machuca Bezzaza]]). To learn more about the supported text size and color formats, you can check [[http://ryan.gulix.cl/tests.doku/current_/doku.php/bbcode|the Demo page for the BBCode Testing Branch]] (courtesy of [[user>ryan.chappelle|Luis Machuca Bezzaza]]).
plugin/bbcode.txt · Last modified: 2024-02-02 20:33 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki