Text Decoration

BBcode syntaxRendered text
[b]bold[/b]
bold
[i]italic[/i]
italic
[u]underlined[/u]
underlined
[s]strike[/s]
strike
[color=red]red[/color]
red
[font=courier]some text[/font] 
some text
[quote]quote[/quote]
quote
[quote=Author]Author? Me? No, no, no...[/quote]
Author wrote:
Author? Me? No, no, no...
[size=small]small text[/size]
[size=xx-large]xx-large text[/size]
[size=20]20px exactly[/size]
				
Size options include: xx-small, small, medium, large, xx-large
small text
xx-large text
20px exactly
Add a horizontal bar
[hr]
Like this
				
Add a horizontal bar


Like this
This is
[center]centered[/center]
text
This is
centered

text

Code blocks

Code can be rendered generically in a block or inline format (depending on if there are new line characters in the text), or you can specify a supported language for enhanced syntax highlighting. Supported languages include php, css, mysql, sql, abap, diff, html, perl, ruby, vbscript, avrc, dtd, java, xml, cpp, python, javascript, js, json, sh .

BBcode syntaxOutput
[code]function bbcode() { }[/code]
function bbcode() { }
[code=php]function bbcode() {
  $variable = true;
  if( $variable ) {
    echo "true";
  }
}[/code]
  1.  function bbcode() {
  2.    $variable = true;
  3.    if( $variable ) {
  4.      echo "true";
  5.    }
  6.  }
[nobb][nobb]This is how [i]you[/i] can 
[u]show[/u] how to use 
[hl]BBcode[/hl] syntax[/nobb][/nobb]
[nobb]This is how [i]you[/i] can [u]show[/u] how to use [hl]BBcode[/hl] syntax[/nobb]

Lists

BBcode syntaxRendered list
[ul]
[*] First list element
[*] Second list element
[/ul]
  • First list element
  • Second list element
[ol]
[*] First list element
[*] Second list element
[/ol]
  • First list element
  • Second list element
[list=A]
[*] First list element
[*] Second list element
[/list]
The list type options are
1, i, I, a, A
.
  • First list element
  • Second list element
[dl terms="b"]
[*= First element term] First element description
[*= Second element term] Second element description
[/dl]
The terms style options can be any combination of:
b
bold
i
italic
u
underline
m
monospace
l
large
h
horizontal — like this defintion list
First element term
First element description
Second element term
Second element description

Tables

BBcode syntaxRendered table
[table border=0]
[tr]
[th]Header 1[/th][th]Header 2[/th]
[/tr]
[tr][td]Content[/td][td]Content[/td][/tr]
[tr][td]Content[/td][td]Content[/td][/tr]
[/table]
Header 1Header 2
ContentContent
ContentContent
[table border=1]
[tr]
[th]Header 1[/th][th]Header 2[/th]
[/tr]
[tr][td]Content[/td][td]Content[/td][/tr]
[tr][td]Content[/td][td]Content[/td][/tr]
[/table]
Header 1Header 2
ContentContent
ContentContent
[table]
[tr]
[th]Header 1[/th][th]Header 2[/th]
[/tr]
[tr][td]Content[/td][td]Content[/td][/tr]
[tr][td]Content[/td][td]Content[/td][/tr]
[/table]
Header 1Header 2
ContentContent
ContentContent

Links and Embedded Content

BBcode syntaxRendered output
[video]video URL[/video]
[audio]audio URL[/audio]
[url=https://hubzilla.org]Hubzilla[/url]
Hubzilla
An image [img]url/of/image.jpg[/img] 
in some text 
An image Image/photo in some text

$Projectname specific codes


These require a suitable map plugin/addon such as openstreetmap or else the result will be blank