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 "Bulleting 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:
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 also animations.
In Godot, BBCode only works in RichTextLabel
nodes.
BBcode can also be used in documentation docstrings, like so:
func add(a: int, b: int) -> int:
return a + b
The 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.See Also
Related terms in the Glossary
External Links
Handpicked resources on the internet