Formatting with Textile

Contents

The following text is a sample from the Textile website. It will show you how to format your text with Textile.

1.1  This is a title

1.1.1  This is a subhead

This is some text of dubious character. Isn’t the use of “quotes” just lazy writing — and theft of ‘intellectual property’ besides? I think the time has come to see a block quote.

This is a block quote. I’ll admit it’s not the most exciting block quote ever devised.

Simple list:

  1. one
  2. two
  3. three

Multi-level list:

  1. one
    1. aye
    2. bee
    3. see
  2. two
    1. x
    2. y
  3. three

Mixed list:

Well, that went well. How about we insert an old-fashioned hypertext link? Will the quote marks in the tags get messed up? No!

This is a link

this is a header
this is a row
this is another row

An image:

optional alt text

  1. Librarians rule
  2. Yes they do
  3. But you knew that

Some more text of dubious character. Here is a noisome string of CAPITAL letters. Here is something we want to emphasize.
That was a linebreak. And something to indicate strength. Of course I could use my own HTML tags if I felt like it.

1.1.2  Coding

This is some code, "isn't it". Watch those quote marks! Now for some preformatted text:

  $text = str_replace("<p>%::%</p>","",$text);
  $text = str_replace("%::%</p>","",$text);
  $text = str_replace("%::%","",$text);

This isn’t code.

So you see, my friends:

Date 2006 December 14, Thursday 12:00 AM
Tags examples · reference
Comments You may send comments by e-mail.


Author Suraj N. Kurapati
Generator Rassmalog 12.0.2
Icons Tango Icon Theme 0.8.1