UCLA KB formating (using Textile)

The purpose of this article is to detail some of the formating options of this Knowledge base in more detail than the View Formatting Options button.

The language this website uses for formatting entries is Textile.

Basic Text Modifiers What it Looks Like _emphasis_ emphasis *strong* strong ??citation?? citation -deleted text- deleted text +inserted text+ inserted text ^superscript^ superscript ~subscript~ subscript %span% span @highlight@ highlight


Linking Usage What it Looks Like website “google”:http://www.google.com google image !http://www.ucla.edu/graphics/logoUCLA.gif!


CSS blocks CSS blocks are between curly braces: ‘{’, ‘}’ followed by a period ie {background:#009900}.


table{border:1px solid black}.
|Tables

  • Tables are created by using the vbar(pipe) character: ‘|’.
  • Each cell of a table should be between vbars.
  • Inner cells share walls.
  • Tables can be preprended with CSS blocks.
  • Cell can be prepended with CSS blocks.
    |


Alignment^1^ < align left > align left = center <> justify ^ top – middle ~ bottom \n span n columns /n span n rows

note^1^: alignment options much lie between left cell wall and a period followed by a space.


Example table{border:1px solid black; background:#ffff00;}.
|\3=. *Test*|
|\2. a|b|
|c|{background:#0000ff; color:#ffffff}. d|e|


Result Test a b c d e


Outlines Usage What it Looks Like Numbered * a
* b
  1. a
  2. b
Bulleted # a
# b
  • a
  • b


Paragraphs A paragraph in Textile is any consecutive block of text that can span multiple lines and is terminated by a blank line. A paragraph can be preceeded by special modifier which affects the entire paragraph. modifier description usage * numbered outline entry * a
* b # bulleted outline entry # a
# b bq. block quote bq. “Look on my works, ye mighty, and despair!” h_n_. header of size n h1. Header1 fn_n_. footnote of number n fn3. footnote 3

What It Looks Like

  1. a
  2. b

  • a
  • b

“Look on my works, ye mighty, and despair!”

Header1

3 footnote 3



Also see How to Create a Table in the Knowledgebase