Article source for : Lewiki:Sandbox
If you're logged in, scroll down and click "edit" and use this page to test the [[Textile quick reference]] commands and the app features listed on the [[Lewiki:help|help]] page.
<!-- turn off the table of contents sidebar for this page -->
toc=no
<hr />
*bold*
_italics_
# A first item
# A second item
# A third
# Fuel could be:
## Coal
## Gasoline
## Electricity
# Humans need only:
## Water
## Protein
* A first item
* A second item
* A third
* Fuel could be:
** Coal
** Gasoline
** Electricity
* Humans need only:
** Water
** Protein
<hr />
I am <b>very</b> serious.<pre> I am <b>very</b> serious.</pre>
I spoke.
And none replied.
one(TM), two(R), three(C).
<hr />
At Lewiki, headings 1 and 2 will be automatically underlined. Headings 3-6 won't be.
h1. Header 1
h2. Header 2
h3. Header 3
h4. Header 4
h5. Header 5
h6. Header 6
<hr />
An old text
bq. A block quotation.
Any old text
<hr />
This is covered elsewhere[1].
fn1. Down here, in fact.
<hr />
I _believe_ every word.
And then? She *fell*!
I __know__.
I **really** __know__.
??Cat's Cradle?? by Vonnegut
Convert with @r.to_html@
I'm -sure- not sure.
You are a +pleasant+ child.
a ^2^ + b ^2^ = c ^2^
log ~2~ x
I'm %unaware% of most soft drinks.
I'm %{color:red}unaware% of most soft drinks.
<hr />
I searched "Google":http://google.com.
I am crazy about "Toledo Talk":toledotalk and "it's":toledotalk "all":toledotalk I ever "link to":toledotalk!
[toledotalk]http://toledotalk.com
!http://www.toledotalk.com/lewiki/lewiki.gif!
!/lewiki/lewiki.gif (Image title or alt text goes here)!
This next command makes the image clickable, but the border is still left around the image.
!/lewiki/lewiki.gif!:http://toledotalk.com/lewiki/
Use good 'ol fashion HTML, I guess, to not display the border around a clickable image witht the border="0" attribute.
<a href="http://www.toledotalk.com/lewiki"><img border="0" src="/lewiki/lewiki.gif"></a>
!>/lewiki/lewiki.gif!
Align the image to the right.
<hr />
<b>Tables</b>
| name | age | sex |
| joan | 24 | f |
| archie | 29 | m |
| bella | 45 | f |
-
|_. name |_. age |_. sex |
| joan | 24 | f |
| archie | 29 | m |
| bella | 45 | f |
-
|_. attribute list |
|<. align left |
|>. align right|
|=. center |
|<>. justify |
|^. valign top |
|~. bottom |
-
|{background:#ddd}. Grey cell|
-
table{border:1px solid black}.
|This|is|a|row|
|This|is|a|row|
-
|This|is|a|row|
{background:#ddd}. |This|is|grey|row|
h1. More Sample Text Examples Using Textile
h2{color:green}. This is a title
h3. This is a subhead
p{color:red}. 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.
bq[fr]. This is a block quote. I'll admit it's not the most exciting block quote ever devised.
Simple list:
#{color:blue} one
# two
# three
Multi-level list:
# one
## aye
## bee
## see
# two
## x
## y
# three
Mixed list:
* Point one
* Point two
## Step 1
## Step 2
## Step 3
* Point three
** Sub point 1
** Sub point 2
Well, that went well. How about we insert an <a href="/" title="watch out">old-fashioned hypertext link</a>? Will the quote marks in the tags get messed up? No!
"This is a link (optional title)":http://www.textism.com
table{border:1px solid black}.
|_. this|_. is|_. a|_. header|
<{background:gray}. |\2. this is|{background:red;width:200px}. a|^<>{height:200px}. row|
|this|<>{padding:10px}. is|^. another|(bob#bob). row|
An image:
!http://textism.com/common/textist.gif(optional alt text)!
# Librarians rule
# Yes they do
# 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 <em>my own HTML tags</em> if I <strong>felt</strong> like it.
h3. Coding
This <code>is some code, "isn't it"</code>. Watch those quote marks! Now for some preformatted text:
<pre>
<code>
$text = str_replace("<p>%::%</p>","",$text);
$text = str_replace("%::%</p>","",$text);
$text = str_replace("%::%","",$text);
</code>
</pre>
This isn't code.
So you see, my friends:
* The time is now
* The time is not later
* The time is not yesterday
* We must act
[[testpage]]
[[testpage2]]