Compose tips
Text Formats
Filtered HTML
Allowed BBCode tags:
Tag description You Type You Get [abbr]
Identifies the content as an abbreviation and displays the full meaning in a tooltip.[abbr=et cetera]etc.[/abbr]
etc. [acronym]
Puts a tooltip over the contained text, which displays the full meaning of the acronym.[acronym=PHP: Hypertext Preprocessor]PHP[/acronym]
PHP [b]
Bold text[b]bold[/b]
bold [center]
Aligns text in the center.[center]Centered text[/center]
[code]
Formats the content text as code, in Monospace and with a grey box around it. BBCode tags within this tag will not be parsed.[code]def fib (n):
a, b = 0, 1
for i in xrange(n):
a, b = b, a + 1
return a[/code][color]
Changes the color. You may enter a color word (red) or a hex code with hash sign (#ff0)[color=#f80]Orange text[/color]
Orange text [define]
Formats a definition list.[define]
--verbose:This will start the program with full debug messages.
--in=IN:This will set the input file to IN.
--out=OUT:This will write output to OUT.
[/define]- --verbose
- This will start the program with full debug messages.
- --in=IN
- This will set the input file to IN.
- --out=OUT
- This will write output to OUT.
[font]
Changes the font of the text.[font=arial]Text[/font]
Text [h1]
Level 1 heading. You may want to restrict access to the level 1 and level 2 headings for ordinary users.[h1]Title[/h1]
Title
[h2]
Level 2 heading. Use this as the top level on non-node content, as level 1 is used by the site header.[h2]Volume[/h2]
Volume
[h3]
Level 3 heading. Use this as the top level within nodes as levels 1 and 2 are used by the site and node title.[h3]Chapter[/h3]
Chapter
[h4]
Level 4 heading.[h4]Section[/h4]
Section
[h5]
Level 5 heading.[h5]Sub-section[/h5]
Sub-section
[h6]
Level 6 heading.[h6]Sub-sub-section[/h6]
Sub-sub-section
[hr]
Horizontal divider.[hr]
[i]
Italic text[i]italic[/i]
italic [img]
Displays a picture. The size may be set by entering widthxheight as the only option.[img=65x73]
/themes/bartik/logo.png
[/img][justify]
Aligns text as a justified block.[justify]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[/justify]
[left]
Aligns text on the left side.[left]Left-aligned text[/left]
[list]
Formats a list. ol and ul may be entered as an option, making the list items numbered or non-numbered.[list=ol]
[*]Apples
[*]Oranges
[*]Bananas
[/list]- Apples
- Oranges
- Bananas
[node]
Links to a certain node. Unlike a [url] tag, this is passed through the linking function and returns the alias of the node.[node=1]Node #1[/node]
Node #1 [php]
This colors the syntax of PHP code using the in-built PHP highlighting library.[php]<?php
echo 'Hello World' . 5 . $variable;
?>[/php][quote]
Formats a quote.[quote]This text is quoted.[/quote]
This text is quoted.
[right]
Aligns text on the right side.[right]Right-aligned text[/right]
[s]
Stricken-through text[s]this sentence is false[/s]
this sentence is false[size]
Changes the text size. This requires the unit (pt, px, em) of the size.[size=16pt]Text[/size]
Text [sub]
Sets text to be smaller and below the line.a[sub]i,j[/sub]
ai,j [sup]
Sets text to be set smaller and above the line.x[sup]2[/sup]
x2 [u]
Underlined text[u]underlined[/u]
underlined [url]
Formats a Hyperlink.[url=http://drupal.org]Drupal.org[/url]
Drupal.org [wikipedia]
Formats a link to Wikipedia, the free encyclopedia.[wikipedia]Drupal[/wikipedia]
Drupal [youtube]
Embed a Youtube video.[youtube=224x126]rF1X12PE6PY[/youtube]
- Web page addresses and e-mail addresses turn into links automatically.
Search Engines will index and follow ONLY links to allowed domains.
- Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
Plain text
- No HTML tags allowed.
- Web page addresses and e-mail addresses turn into links automatically.
- Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.