Document Actions

Structured Text Cheat Sheet

by LiveModern Webmaster last modified 01-10-2007 23:38

Editorial Rating: 1 2 3 4 5 Reader Rating: 1 2 3 4 5 ( 0 votes)
Click to change your reader rating: (not rated)   worthless bad average good great

Structured Text is an easy to learn but powerful document formatting system that is ideally suited to web applications. With Structured Text, format-independent writing becomes extremely convenient and natural, once a few rules are learned.


Basic text formatting

  • Italicized text

    Enter this :

             *italics*
    

    to get this:

    italics

  • Underlined text

    Enter this :

             _underline_
    

    to get this:

    underline

  • Boldfaced text

    Enter this :

             **boldface**
    

    to get this:

    boldface

Headers and paragraphs

  • Text headers

    Enter this:

             My header
    
                If you enter a single line paragraph (e.g. like the one
             above and then indent the first line of the next paragraph, 
             the text in the one-line paragraph will be transformed into
             a header.
    
                Note that the second paragraph in the section also has 
             its first line indented.
    
                Be sure to leave a blank line between paragraphs.  This
             paragraph's first line is indented, too.
    

  • Inlined preformatted text

Enter this:

      Some ordinary text here.  Some 'preformatted text here'.  More ordinary text.

to get this:

Some ordinary text here. Some preformatted text here. More ordinary text.

Lists

  • Bulleted lists

    Enter this:

             * First item
    
             * Second item.  Note that there is a blank line between
             each list item.
    
                * Make lists within lists by using extra indentation
    
                * Second indented item.
    
             * Third item in the main list.
    

    to get this:

    • First item
    • Second item. Note that there is a blank line between each list item.
      • Make lists within lists by using extra indentation
      • Second indented item.
    • Third item in the main list.
  • Numbered lists

    Enter this:

             1 First item
    
             2 Second item.  Again, note that there is a blank line 
             between each list item.
    
             3 Third item in the main list.
    

    to get this:

  1. First item
  2. Second item. Again, note that there is a blank line between each list item.
  3. Third item in the main list.

Note that numbered lists cannot be embedded in bulleted lists.

  • Definition lists

    Enter this:

             First item -- More information about the first item.
    
             Second item -- More information about the second item.
    
             Third item -- More information about the third item.
    

    to get this:

    First item
    More information about the first item.
    Second item
    More information about the second item.
    Third item
    More information about the third item.

Links

  • Links

    Enter this:

             "A link to Dwell magazine":http://www.dwellmag.com
    

    to get this:

    A link to Dwell magazine

  • Email addresses

    Enter this:

             "address@example.com":mailto:address@example.com
    

    to get this:

    address@example.com

  • References

    Enter this:

             I am going to refer to a footnote here <a href="cheatsheet/#1">[1]</a>.
    
             Later in the text I will have a footnotes
             section.
    
             <a name="1"></a>[1] My footnote.
    

    to get this:

    I am going to refer to a footnote here [1].

    Later in the text I will have a footnotes section.

    [1] My footnote.

Images

  • Images

    Enter this:

             "Text shown when the browser does not load the image":img:logo.jpg
    

    to get this:

    Text shown when the browser does not load the image

    You can use an arbitrary URL for the image, e.g.:

             "Plone logo":img:http://www.plone.org/logo.jpg
    

    Plone Logo

Image names should be one word, using an "_" or "-" in the name of the image, for example "image-name" will prevent you from being able to insert the image into the page. The "_" for example is mentioned above and is used to indicate that the word should be underlined.

Tables

  • Tables

Enter this:

      |------------------------------------|
      | Fruit     | Nut        | Mammal    |
      |====================================|
      | Apple     | Peanut     | Squirrel  |
      |------------------------------------|
      | Orange    | Macadamia  | Woodchuck |
      |------------------------------------|
      | Banana    | Walnut     | Dolphin   |
      |------------------------------------|
      | This spans 2 columns!  | Cat       |
      |------------------------------------|
      | Pear      | This spans 2 columns!  |
      |------------------------------------|
      | This spans 3 columns!              |
      |------------------------------------|

to get this:

Fruit

Nut

Mammal

Apple

Peanut

Squirrel

Orange

Macadamia

Woodchuck

Banana

Walnut

Dolphin

This spans 2 columns!

Cat

Pear

This spans 2 columns!

This spans 3 columns!

View the Structured Text used to create this page

This page Copyright © LiveModern, Inc. and by the Contributing Author(s) above, if any. Webmaster, L. (2003, May 29). Structured Text Cheat Sheet. Retrieved November 22, 2008, from LiveModern: Your Best Modern Home Web site: http://livemodern.com/support/advanced/cheatsheet.
This work is licensed under a Creative Commons License. Cite/Attribute Resource.