Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
BB Code
BB code is a set of tags based on the HTML language that you may already be familiar with.
They allow you to add formatting to your messages in the same way as HTML does,
but have a simpler syntax and will never break the layout of the pages you are viewing.
The ability to use BB code is set on a forum-by-forum basis by the administrator,
so you should check the forum rules when you post a new message.
Below is a list of the BB code tags you can use to format your messages.
The [list] tag allows you to create simple, bulleted lists without specifying an option. Within the value portion, each bullet is denoted by the [*] tag.
Usage
[list]value[/list]
Example Usage
[list] [*]list item 1 [*]list item 2 [/list]
Example Output
list item 1
list item 2
Advanced Lists
The [list] tag allows you to create advanced lists by specifying an option. The option should have a value of 1 (for a numbered list) or A (for an alphabetic with capital letters list) or a (for an alphabetic with lowercase letters list) or I (for a numbered with capital Roman numeral list) or i (for a numbered with small Roman numeral list).
Usage
[list=Option]value[/list]
Example Usage
[list=1] [*]list item 1 [*]list item 2 [/list]
[list=a] [*]list item 1 [*]list item 2 [/list]
Example Output
list item 1
list item 2
list item 1
list item 2
Images
The [img] tag allows you to embed images within your posts. You can also combine this tag with the [url] tag to make images become links.
The [php] tag performs the same function as the [code] tag, but also adds syntax highlighting for PHP code. Although it is designed for PHP, it may correctly highlight some other C-like languages.
[quote]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe;6507750]Lorem ipsum dolor sit amet[/quote]
Example Output
Quote:
Lorem ipsum dolor sit amet
Quote:
Originally Posted by John Doe
Lorem ipsum dolor sit amet
Quote:
Originally Posted by John Doe
Lorem ipsum dolor sit amet
Stop BB Code Parsing
The [noparse] tag allows you to stop the parsing of BB code.
Usage
[noparse][b]value[/b][/noparse]
Example Usage
[noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
Example Output
[b]Lorem ipsum dolor sit amet[/b]
Attachment
The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized.
Usage
[attach]attachmentid[/attach]
Example Usage
[attach]12345[/attach]
Example Output
Strikethrough
The [strike] tag allows you to cross out text.
Usage
[strike]value[/strike]
Example Usage
[strike]text[/strike]
Example Output
text
Warning
Allows content writers to place warnings withing their content.
Adds a link to a drupal node using the node's title.
The option can be the node ID or the relative path to the node (path aliases are supported). If the option is ommited the value is used as the option and the node's title is used for the link text.
Adds a clickable thumbnail to a drupal image node.
The option can be the node ID or the relative path to the node (path aliases are supported). If the option is ommited the value is used as the option and the node's title is used for the alternative text.
This tag is only useful when the drupal image module is installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.