Bulletin Board Code (BBCode)
2025/12/27
- Type
- Learning Resource
- Format
- Glossary Article
- Version
- General
- Subject Tags
- Created
- Updated
- 2026/02/16
- 2025/12/27
In the early internet days, people wanted a simple way to mark up text with some formatting information, like making text bold or italic.
Allowing people to write HTML directly seemed a little complicated, as well as a security risk. Instead, forum programmers designed a simpler language they dubbed "Bulletin Board Code" (at the time, forums were called "Bulletin Boards").
Here's some example BBCode:
BBCode is a simple markup language.
It allows you to format text in:
[ul]
[b]bold[/b]
[i]italics[/i]
[s]strikethrough[/s]
urls [url=https://godotengine.org]the Godot Site[/url]
show images [img alt="The Godot Logo"]res://logo.png[/img]
and more!
[/ul]This would be the result:
> BBCode is a simple markup language.
> It allows you to format text in:
>
> - bold
> - italics
> - ~~strikethrough~~
> - urls the Godot Site
> - show images
> - and more!
Implementations of BBCode differ from program to program. In Godot, the popular markup codes are retained, but it has several more, less common features, such as tables and animations.
Get the full list in the Godot documentation: Godot BBCode reference.
In Godot, BBCode only works in RichTextLabel nodes.
BBCode can also be used in documentation docstrings, like so:
## This function adds two numbers together and returns the result.[br]
## [br]
## [b]Arguments:[/b][br]
## [param a]: The first number to add.[br]
## [param b]: The second number to add.[br]
## [br]
## [b]Returns:[/b][br]
## The sum of [code]a[/code] and [code]b[/code].[br]
## [br]
## [b]Example:[/b][br]
## [codeblock lang=gdscript]
## var result = add(1, 2)
## print(result)
## [/codeblock]
func add(a: int, b: int) -> int:
return a + bThe accepted BBCode tags in Godot's documentation are different from the ones in RichTextLabel nodes. You can find the full list in the Godot documentation.
Don't stop here. Step-by-step tutorials are fun but they only take you so far.
Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.
Get help from peers and pros on GDQuest's Discord server!
20,000 membersJoin ServerThere are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!
Sponsor this library by learning gamedev with us onGDSchool
Learn MoreImprove and build on assets or suggest edits onGithub
Contributeshare this page and talk about GDQUest onRedditYoutubeTwitter…