RAM-CMS BBCode Feature
======================
This file contains info about the BBCode feature.

To Enable BBCode support in RAM-CMS set $bbcode to true or 1 in config
(Since 0.3.0 BBCode is enabled by default)

Note: BBCode constructs are case sensitive!

----------------------------------------------------------------
BBCode Construct -- HTML Construct
----------------------------------------------------------------
[b] [/b]            <b> </b>
[i] [/i]            <i> </i>
[u] [/u]            <u> </u>
[s] [/s]            <strike> </strike>
[tt] [/tt]          <tt> </tt>
[pre] [/pre]        <pre> </pre>
[sub] [/sub]        <sub> </sub>
[sup] [/sup]        <sup> </sup>
[big] [/big]        <big> </big>
[small] [/small]    <small> </small>
[hr]                <hr>
[center] [/center]  <center> </center>
[p] [/p]            <p> </p>
[br]                <br>
[ul] [/ul]          <ul> </ul>
[ol] [/ol]          <ol> </ol>
[li] [/li]          <li> </li>
[h1] [/h1]          <h1> </h1>
[h2] [/h2]          <h2> </h2>
[h3] [/h3]          <h3> </h3>
[h4] [/h4]          <h4> </h4>
[h5] [/h5]          <h5> </h5>
[h6] [/h6]          <h6> </h6>
----------------------------------------------------------------
Complex BBCode Constructs and their HTML Equivalents
----------------------------------------------------------------

Internal Hyperlinks
-------------------

BBCode: 
[link]page-name[/url]
HTML: 
<a href="./?page=page-name">page-name</a>
 OR
<a href="page/page-name">page-name</a>
Note: outcome depends on setting of $nicelinks

BBcode: 
[link=page-name]Click Me[/url]
HTML: 
<a href="./?page=page-name">Click Me</a>
 OR
<a href="page/page-name">Click Me</a>
Note: outcome depends on setting of $nicelinks
Note: do not use this with the default page!
use [url=./]Home[/url] or similar instead.

HyperLinks
----------
BBCode: 
[url]http://example.com/REQUEST_URI[/url]
HTML: 
<a href="http://example.com/REQUEST_URI">http://example.com/REQUEST_URI</a>
Note: relative and non-http URLs are also supported.

BBcode: 
[url=http://example.com/REQUEST_URI]Click Me[/url]
HTML: 
<a href="http://example.com/REQUEST_URI">Click Me</a>
Note: relative and non-http URLs are also supported.

Font Colors
-----------
BBCode: 
[color=blue] [/color]
HTML: 
<font color="blue"> </font>

Images
------
BBCode: 
[img=imagefile.jpg]
HTML: 
<img alt="" src="imagefile.jpg">
Note: absolute and relative URLs are also supported.


Comments
--------
BBCode: 
[!-- This is a Comment -- put anything here --]
HTML: 
<!-- This is a Comment -- put anything here -->
Note: This tag does not actually translate the BBCode into the HTML markup. 
      Instead, BBCode comments are stripped out in order to save bandwidth. 
      If you want comments to actually pass through to the client then use 
      HTML comments directly instead.
