Smartsite SXML CopyCode image Copy Code
<se:buffer name="bbcode">
    [b]bolded text[/b]
    [i]italicized text[/i]
    [u]underlined text[/u]
    [url]http://example.org[/url]
    [url=http://example.com]Example[/url]
    [quote]quoted text[/quote]
    [code]monospaced text[/code]
    [size=75]Small Text[/size]
    [color=red]Red Text[/color]
    
    [list]
    [*] Item 1
    [*] Item 2
    [*] etc
    [/list] 
</se:buffer>

{string.bbdecode($bbcode)}
Example Result CopyCode image Copy Code
<p>    <strong>bolded text</strong></p>
<p>    <i>italicized text</i></p>
<p>    <u>underlined text</u></p>
<p>    <a class="bb-url" href="http://example.org">http://example.org</a></p>
<p>    <a class="bb-url" href="http://example.com">Example</a></p>
<div class="bb-quote">quoted text</div>
<pre class="bb-code">monospaced text</pre>
<p>    <span style="font-size:75%">Small Text</span></p>
<p>    <span style="color:red">Red Text</span></p>

<ul class="bb-list-unordered">
    <li class="bb-listitem"> Item 1
    </li><li class="bb-listitem"> Item 2
    </li><li class="bb-listitem"> etc
    </li></ul>
SXML