Catalog / BBCode Cheatsheet

BBCode Cheatsheet

A quick reference guide to BBCode (Bulletin Board Code) syntax for formatting text in online forums and other platforms. Covers essential tags for text styling, links, images, lists, and more.

Basic Text Formatting

Text Styles

[b]Bold text[/b]

Result: Bold text

[i]Italic text[/i]

Result: Italic text

[u]Underlined text[/u]

Result: Underlined text

[s]Strikethrough text[/s]

Result: Strikethrough text

[sup]Superscript text[/sup]

Result: Superscript textSuperscript text

[sub]Subscript text[/sub]

Result: Subscript textSubscript text

Text Colors

[color=red]Red text[/color]

Result: Red text

[color=#00FF00]Green text[/color]

Result: Green text

[color=blue]Blue text[/color]

Result: Blue text

Text Sizes

[size=1]Tiny text[/size]

Result: Tiny text

[size=3]Normal text[/size]

Result: Normal text

[size=7]Huge text[/size]

Result: Huge text

Links and Images

Hyperlinks

[url=https://example.com]Example Website[/url]

Result: Example Website

Images

Result: Display an image from the specified URL. Note: actual image display depends on the platform’s BBCode implementation.

Lists and Quotes

Lists

[list]
[]Item 1
[
]Item 2
[/list]

Result:

  • Item 1
  • Item 2

[list=1]
[]Item A
[
]Item B
[/list]

Result:

  1. Item A
  2. Item B

[list=a]
[]Item X
[
]Item Y
[/list]

Result:
a. Item X
b. Item Y

Quotes

[quote]Quoted text[/quote]

Result: Displays the text as a quotation.

[quote=Author]Quoted text with author[/quote]

Result: Displays the text as a quotation, attributed to the specified author.

Code and Other Formatting

Code Blocks

[code]This is some code.[/code]

Result: Displays the text as a code block. The exact appearance depends on the platform implementation.

Example:

This is some code.

[code=php][/code]

Result: Displays the code with syntax highlighting (if supported by the platform).

Example:

<?php echo 'Hello, world!'; ?>

Alignment

[align=center]Centered Text[/align]

Result: Centers the text horizontally. Support may vary across platforms.

[align=right]Right-aligned Text[/align]

Result: Aligns the text to the right. Support may vary across platforms.

Line Breaks

BBCode generally recognizes standard line breaks (i.e., pressing ‘Enter’ in your text editor). If not, manual line breaks are usually not supported directly via a BBCode tag. Instead, platforms typically handle line breaks automatically.