HOME

TheInfoList



OR:

BBCode ("Bulletin Board Code") is a lightweight markup language used to format messages in much Internet forum software, first introduced in 1998. The available "tags" of BBCode are usually indicated by square brackets ( /code> and /code>) surrounding a keyword, and are parsed before being translated into
HTML The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScri ...
.


Tags


Implementation

BBCode is typically implemented by applying a series of
regular expression A regular expression (shortened as regex or regexp; sometimes referred to as rational expression) is a sequence of characters that specifies a search pattern in text. Usually such patterns are used by string-searching algorithms for "find" ...
string-replace operations upon the input. Because regular expressions are limited in analyzing the structure of text input, this has the artifact that any non-hierarchical BBCode input will be transformed into invalid non-hierarchical HTML without error. Applying traditional parsing techniques is made difficult by ambiguities in the markup, such as in , where the input can either be interpreted as "text" quoted from someone called , or the bolded text "text" surrounded by and {{code, lang=bbcode, code= quote}, i.e. uote=text[/quote/code>.


See also

* Markdown">quote.html" ;"title="uote=text[/quote">uote=text[/quote/code>.


See also

* Markdown


References


External links


BBCode users guide

RTF/HTML to BBCode online converter
Lightweight markup languages