BBCode is a LICENSE licensed CATEGORY written in LANG. - [Documentation](https://www.phpbb.com/community/help/bbcode) ([[phpBB]]) - [Documentation](https://www.rprepository.com/help/bbcode) (RP Repository) - [Wikipedia](https://en.wikipedia.org/wiki/BBCode) > BBCode ("Bulletin Board Code") is a lightweight markup language used to format messages in many Internet forum software. It was first introduced in 1998. The available "tags" of BBCode are usually indicated by square brackets ([ and ]) surrounding a keyword, and are parsed before being translated into HTML.[ \- BBCode article on Wikipedia # Notability # Philosophy Developed in the late 90s, adopted by many of the most popular forum software and other applications. To my knowledge there is no published standard, official site, or governance. Different applications may differ in their implementation. It resembles the early versions of [[HTML]], except instead of angle brackets it uses square brackets. There are differences, simplifications, and extensions in comparison. It's main purpose seemed to be so that a simple HTML sanitizer could be used first, and the BBCode could then be used to re-introduce basic formatting. # Platform Support # Markup | Formatting | Syntax | | ---------------------- | ------------------------------------------------------------------------------------------------ | | **Bold** | `[b]text[/b]` | | **Italic** | `[i]text[/i]` | | **Underline** | `[u]text[/u]` | | **Strikethrough** | `[s]text[/s]` | | **Size** | `[size=FONT_SIZE]text[/size]`<br>(or)<br>`[style size=FONT_SIZE]text[/style]` | | **Color** | `[color=color_name_or_hex]text[/color]`<br>(or)<br>`[style color=color_name_or_hex]text[/style]` | | **Align Center** | `[center]text[/center]` | | **Align Left** | `[left]text[/left]` | | **Align Right** | `[right]text[/right]` | | **Quote** | `[quote]text[/quote]` | | **Quote<br>(named)** | `[quote=name]text[/quote]` | | **Spoiler** | `[spoiler]text[/spoiler]` | | **Spoiler<br>(named)** | `[spoiler=name]text[/spoiler]` | | **Link** | `[url]http://example.com[/url]` | | **Link<br>(named)** | `[url=http://example.com]text[/url]` | | **Image** | `[img]url[/img]` | | **Image<br>(resized)** | `[img width={width} height={height}]url[/img]`<br>(or)<br>`[img={width}x{height}]url[/img]` | | **List** | `[list]...items...[/list]` | | **List<br>(ordered)** | `[list=1]...items...[/list]` | | **List item** | `[*]text` | | **Code** | `[code]text[/code]` | | **Code<br>(language)** | `[code=lang]text[/code]` | | **Pre** | `[pre]text[/pre]` | | **Table** | `[table]...rows...[/table]` | | **Table Row** | `[tr]...cells...[/tr]` | | **Table Cell** | `[th]heading[/th]` `[td]cell[/td]` | Above are just examples, different libraries and forums may not support all possibilities. # Features # Tips - https://bbcode.ilma.dev # References - [BBCode.org](https://www.bbcode.org/reference.php) - Despite the URL, it has no connection to BBCode or any forum software - Beware of "[[Web 3.0]]" and other undesirable tie-ins