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
plugin:bbcode [2017-01-23 06:42] – new version with small-caps, and some notes ryan.chappelleplugin:bbcode [2024-02-02 20:33] (current) – [Syntax] Aleksandr
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 : >= 2014-05-05, Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus+compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 21: Line 21:
 ===== Installation ===== ===== Installation =====
  
-Feed the download URL to the plugin manager, or select the plugin from the plugin manager's extensions interface.  +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
- +
-If your hosting does not support downloading from sites with [[doku>plugin:plugin#another_error_source_for_failed_downloadsssl|forced HTTPS such as Github]], you can feed [[http://ryan.gulix.cl/dw/_media/desarrollo/dokuwiki/dw-plugin-var-20170122.tgz|this link]] instead which points to a copy of the Jan 2017 release~~~~+
  
 ===== Description ===== ===== Description =====
  
-This [[plugins|plugin]] provides support for [[wp>BBCode]] syntax within [[:DokuWiki]]. BBCode is popular among discussion forums like phpBB or vBulletin. The BBCode plugin supports almost all of the phpBB implementation of BBCode.+This plugin provides support for [[wp>BBCode]] syntax within [[:DokuWiki]]. BBCode is popular among discussion forums like phpBB or vBulletin. The BBCode plugin supports almost all of the phpBB implementation of BBCode.
  
 Of course, DokuWiki's [[:wiki:syntax]] is much more powerful and is more intuitive to read and write, but nevertheless, you might want to switch content from a forum to your wiki or make it easy for users coming from forums to start contributing. Of course, DokuWiki's [[:wiki:syntax]] is much more powerful and is more intuitive to read and write, but nevertheless, you might want to switch content from a forum to your wiki or make it easy for users coming from forums to start contributing.
Line 62: 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'' or  ''color=#ffffff'' 
 +  * 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.1485150173.txt.gz · Last modified: 2017-01-23 06:42 by ryan.chappelle

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