HOME

TheInfoList



OR:

BBCode ("Bulletin Board Code") is a
lightweight markup language A lightweight markup language (LML), also termed a simple or humane markup language, is a markup language with simple, unobtrusive syntax. It is designed to be easy to write using any generic text editor and easy to read in its raw form. Lightw ...
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 ( /code> and /code>) surrounding a keyword, and are parsed before being translated into
HTML Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets ( ...
.


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 match 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