- [b]bold[/b] - bold
- [i]italic[/i] - italic
- [u]underlined[/u] - underlined
- [s]strike[/s] -
strike
- [color=red]red[/color] - red
- [url=https://zothub.com]$Projectname[/url] $Projectname
- [img]/images/default_profile_photos/rainbow_man/48.jpg[/img]
- [img float=left]/images/default_profile_photos/rainbow_man/48.jpg[/img]
- [img float=right]/images/default_profile_photos/rainbow_man/48.jpg[/img]
- [code]code[/code]
code
- [code=xxx]syntax highlighted code[/code]
supported languages php, css, mysql, sql, abap, diff, html, perl, ruby, vbscript, avrc, dtd, java, xml, cpp, python, javascript, js, json, sh
- [quote]quote[/quote]
quote
- [quote=Author]Author? Me? No, no, no...[/quote]
Author wrote:Author? Me? No, no, no...
- [nobb][nobb]This is how you can show how to use BBcode syntax[/nobb][/nobb]
You can make lists with:
- [list]
- [list=1]
- [list=i]
- [list=I]
- [list=a]
- [list=A]
- [ul]
- [ol]
- [dl]
- [dl terms="biumlh"] — where style of the terms can be any combination of:
- b
- bold
- i
- italic
- u
- underline
- m
- monospace
- l
- large
- h
- horizontal — like this defintion list
For example:
[ul]
[*] First list element
[*] Second list element
[/ul]
Will render something like:
- First list element
- Second list element
or
[dl terms="b"]
[*= First element term] First element description
[*= Second element term] Second element description
[/dl]
Will render something like:
- First element term
- First element description
- Second element term
- Second element description
There's also:
- [hr]
- [video]video URL[/video]
- [audio]audio URL[/audio]
- [table]
- [th]
- [td]
- [tr]
- [center]
- [font=courier]some text[/font] some text
Tables? Yes!
[table border=1]
[tr]
[th]Tables now[/th]
[/tr]
[tr]
[td]Have headers[/td]
[/tr]
[/table]
All sizes,
From the [size=xx-small] -
xx-small.
To the [size=xx-large] -
xx-large.
To fit exactly
20px use [size=20].
$Projectname specific codes
- [©] © This works for many HTML entities
- [zrl]https://zothub.com[/zrl] Magic-auth version of [url] tag
- [zmg]https://zothub.com/some/photo.jpg[/zmg] Magic-auth version of [img] tag
- [nobb][observer=1]Text to display if observer is authenticated in the matrix[/observer][/nobb]
- [nobb][observer=0]Text to display if observer is not authenticated in the matrix[/observer][/nobb]
- [nobb][observer.url][/nobb] channel URL of observer
- [nobb][observer.baseurl][/nobb] website of observer
- [nobb][observer.name][/nobb] name of observer
- [nobb][observer.webname][/nobb] short name in the url of the observer
- [nobb][observer.address][/nobb] address (zot-id) of observer
- [nobb][observer.photo][/nobb] profile photo of observer
- [spoiler] for hiding spoilers
- [rpost=title]Text to post[/rpost] The observer will be returned to their home hub to enter a post with the specified title and body. Both are optional
- [qr]text to post[/qr] - create a QR code (if the qrator plugin is installed).
- [toc] - create a table of content in a webpage. Please refer to the original jquery toc to get more explanations.
- Optional param: 'data-toc'. If ommited the default is 'body'
- Optional param: 'data-toc-headings'. If ommited the default is 'h1,h2,h3'
- Full example: [toc data-toc='div.page-body' data-toc-headings='h1,h2']
These require a suitable map plugin/addon such as openstreetmap or else the result will be blank
- [map] Generate an inline map using the current browser coordinates of the poster, if browser location is enabled
- [map=latitude,longitude] Generate a map using global coordinates.
- [map]Place Name[/map] Generate a map for a given named location. The first matching location is returned. For instance "Sydney" will usually return Sydney, Australia and not Sydney, Nova Scotia, Canada unless the more precise location is specified. It is highly recommended to use the post preview utility to ensure you have the correct location before submitting the post.