head
key(name)operator(:) string(paragraphs) key(desc)operator(:) string(Textile looks for paragraphs in your text. Paragraphs are separated by one blank line. Every paragraph is translated as an HTML paragraph.) key(in)operator(:) string(|-) string(A single paragraph.) string(Followed by another.) key(html)operator(:) string(|-) string(A single paragraph.
) string(Followed by another.
) head key(name)operator(:) string(block containing block start) key(in)operator(:) string(|-) string(I saw a ship. It ate my elephant.) key(html)operator(:) string(|-) string(I saw a ship. It ate my elephant.
) head key(name)operator(:) string(extended block containing block start) key(in)operator(:) string(|-) string(p.. I saw a ship. It ate my elephant.) string(When the elephant comes to take a p. you...) key(html)operator(:) string(|-) string(I saw a ship. It ate my elephant.
) string(When the elephant comes to take a p. you…
) head key(name)operator(:) string(blockquote containing block start) key(in)operator(:) string(|-) string(bq. I saw a ship. It ate my elephant.) key(html)operator(:) string(|-) string() string() head key(name)operator(:) string(extended blockquote containing block start) key(in)operator(:) string(|-) string(bq.. I saw a ship. It ate my elephant.) string(When the elephant comes to take a p. you...) key(html)operator(:) string(|-) string(I saw a ship. It ate my elephant.
) string(
) string() head key(name)operator(:) string(notextile block containing block start) key(in)operator(:) string(|-) string(notextile. I saw a ship. It ate my elephant.) key(html)operator(:) string(|-) string(I saw a ship. It ate my elephant.) key(valid_html)operator(:) string(false) head key(name)operator(:) string(extended notextile block containing block start) key(in)operator(:) string(|-) string(notextile.. I saw a ship. It ate my elephant.) string(When the elephant comes to take a p. you...) key(html)operator(:) string(|-) string(I saw a ship. It ate my elephant.) string(When the elephant comes to take a p. you...) key(valid_html)operator(:) string(false) head key(name)operator(:) string(pre block containing block start) key(in)operator(:) string(|-) string(pre. I saw a ship. It ate my elephant.) key(html)operator(:) string(|-) string(I saw a ship. It ate my elephant.
) string(When the elephant comes to take a p. you…
) string(
I saw a ship. It ate my elephant.) head key(name)operator(:) string(extended pre block containing block start) key(in)operator(:) string(|-) string(pre.. I saw a ship. It ate my elephant.) string(When the elephant comes to take a p. you...) key(html)operator(:) string(|-) string(
I saw a ship. It ate my elephant.) string(
When the elephant comes to take a p. you…) string(--- ) key(name)operator(:) string(html tags) key(desc)operator(:) string(You can certainly use HTML tags inside your Textile documents. HTML will only be escaped if it’s found in a
pre
or code
block.)
key(in)operator(:) string(|-)
string(I am very serious.)
string() string(I am very serious.) string() key(html)operator(:) string(|-) string(
I am very serious.
) string() string(I am <b>very</b> serious.) string() head key(name)operator(:) string(line breaks) key(desc)operator(:) string(Line breaks are converted to HTML breaks.) key(in)operator(:) string(|-) string(I spoke.) string(And none replied.) key(html)operator(:) string(|-) string(
I spoke.
)
string(And none replied.
I spoke.) string(And none replied.
) key(lite_mode_html)operator(:) string(|-) string(I spoke.“Observe!”
) head key(name)operator(:) string(quotes contained in multi-paragraph quotes) key(in)operator(:) string(|-) string("I first learned about this thing called "Redcloth" several years ago.) string("It's wonderful.") key(html)operator(:) string(|-) string(“I first learned about this thing called “Redcloth” several years ago.
) string(“It’s wonderful.”
) head key(name)operator(:) string(double hyphens) key(desc)operator(:) string(Double hyphens are replaced with an em-dash.) key(in)operator(:) string(Observe--very nice!) key(html)operator(:) string(Observe—very nice!
) key(latex)operator(:) stringObserve — very nice!
) key(latex)operator(:) stringObserve – tiny and brief.
) key(latex)operator(:) stringObserve the nicely-done hyphen.
) head key(name)operator(:) string(ellipses) key(desc)operator(:) string(Triplets of periods become an ellipsis.) key(in)operator(:) string(Observe...) key(html)operator(:) string(Observe…
) key(lite_mode_html)operator(:) string(Observe…) head key(name)operator(:) string(dimension sign) key(desc)operator(:) string(The letter 'x' becomes a dimension sign when used between digits.) key(in)operator(:) stringMy mouse: 2.5″ × 4″.
') head key(name)operator(:) string(dimension signs with single primes) key(in)operator(:) stringone™, two®, three©.
) key(lite_mode_html)operator(:) string(one™, two®, three©.) head key(name)operator(:) string(headers) key(desc)operator(:) string(To make an entire paragraph into a Header, place “hn.” at its beginning, where n is a number from 1-6.) key(in)operator(:) string(h3. Header 3) key(html)operator(:) string(Any old text
) string() string() string(A block quotation.
) string(
Any old text
) head key(name)operator(:) string(footnote reference) key(desc)operator(:) string(Numeric references within text to footnotes appear between square brackets.) key(in)operator(:) string(This is covered elsewhere[1].) key(html)operator(:) string(This is covered elsewhere1.
) head key(name)operator(:) string(footnote) key(desc)operator(:) string(To create the footnote that corresponds to its reference within the text, begin a new paragraph with fn and the footnote’s number, followed by a dot and a space.) key(in)operator(:) string(fn1. Down here, in fact.) key(html)operator(:) string(1 Down here, in fact.
) head key(name)operator(:) string(em) key(desc)operator(:) string(Emphasis to text is added by surrounding a phrase with underscores. In HTML, this often appears as italics.) key(in)operator(:) string(I _believe_ every word.) key(html)operator(:) string(I believe every word.
) key(lite_mode_html)operator(:) stringAnd then? She fell!
) key(lite_mode_html)operator(:) stringI know.
)
string(I really know.
Cat’s Cradle by Vonnegut
) head key(name)operator(:) string(code phrases) key(desc)operator(:) string(Code phrases can be surrounded by at-symbols.) key(in)operator(:) string(Convert with @r.to_html@) key(html)operator(:) string(Convert with r.to_html
r.to_html
)
head
key(name)operator(:) string(code phrases not created with multiple email addresses)
key(in)operator(:) string(Please email why@domain.com or jason@domain.com.)
key(html)operator(:) string(Please email why@domain.com or jason@domain.com.
) head key(name)operator(:) string(del) key(desc)operator(:) string(To indicate a passage which has been deleted, surround the passage with hypens.) key(in)operator(:) string(I'm -sure- not sure.) key(html)operator(:) string(I’m sure not sure.
You are a pleasant child.
) head key(name)operator(:) string(superscript) key(desc)operator(:) string(To superscript a phrase, surround with carets.) key(in)operator(:) string(a ^2^ + b ^2^ = c ^2^) key(html)operator(:) string(a 2 + b 2 = c 2
) head key(name)operator(:) string(parenthetical superscript phrase) key(in)operator(:) string('^(image courtesy NASA\)^') key(html)operator(:) string('(image courtesy NASA\)
') head key(name)operator(:) string(subscript) key(desc)operator(:) string(To subscript, surround with tildes.) key(in)operator(:) string(log ~2~ x) key(html)operator(:) string(log 2 x
) head key(name)operator(:) string(parenthetical subscript phrase) key(in)operator(:) string('~(image courtesy NASA\)~') key(html)operator(:) string('(image courtesy NASA\)
') head key(name)operator(:) string(tight superscript and subscript) key(desc)operator(:) string(if you want your superscript or subscript to not be surrounded by spaces, you must use square brackets) key(in)operator(:) string(f(x, n\) = log[~4~]x[^n^]) key(html)operator(:) string('f(x, n\) = log4xn
') head key(name)operator(:) string(span) key(desc)operator(:) string(Lastly, if you find yourself needing to customize the style of a passage, use percent symbols to translate the passage as an HTML span.) key(in)operator(:) string(I'm %unaware% of most soft drinks.) key(html)operator(:) string(I’m unaware of most soft drinks.
) head key(name)operator(:) string(style span) key(desc)operator(:) string(This way, you can apply style settings, as described in the next section to arbitrary phrases.) key(in)operator(:) string(|-) string(I'm %{color:red}unaware%) string(of most soft drinks.) key(html)operator(:) string(|-) string(I’m unaware
)
string(of most soft drinks.
http://blah.com/one%20two%20three
)
string((min\)5%-95%(max\)
An example
) head key(name)operator(:) string(css id) key(desc)operator(:) string(An element ID can be given by prefixing the ID with a pound symbol and using it in place of the class.) key(in)operator(:) string(p(#big-red\). Red here) key(html)operator(:) string(Red here
) head key(name)operator(:) string(class and id combined) key(desc)operator(:) string(Class and ID can be combined by placing the class first.) key(in)operator(:) string(p(example1#big-red2\). Red here) key(html)operator(:) string(Red here
) head key(name)operator(:) string(css style) key(desc)operator(:) string(Style settings can be provided directly by surrounding them in curly braces.) key(in)operator(:) string(p{color:blue;margin:30px}. Spacey blue) key(html)operator(:) string(Spacey blue
) head key(name)operator(:) string(language designations) key(desc)operator(:) string(Language designations can be given between angel brackets.) key(in)operator(:) string(p[fr]. rouge) key(html)operator(:) string(rouge
) head key(name)operator(:) string(block attributes on phrase modifiers) key(desc)operator(:) string(All block attributes can be applied to phrases as well by placing them just inside the opening modifier.) key(in)operator(:) string(|-) string(I seriously *{color:red}blushed*) string(when I _(big\)sprouted_ that) string(corn stalk from my) string(%[es]cabeza%.) key(html)operator(:) string(|-) string(I seriously blushed
)
string(when I sprouted that
)
string(corn stalk from my
)
string(cabeza.
I seriously {color:red}blushed
)
string(when I first (big\)sprouted that
)
string(corn stalk from my
)
string(grande [es]cabeza.
justified
) head key(name)operator(:) string(indentation) key(desc)operator(:) string(Indentation can also be specified by provide a single left paren for every 1em to the left. A single right paren for every 1em to the right.) key(in)operator(:) string(p\)\)\). right ident 3em) key(html)operator(:) string(right ident 3em
) head key(name)operator(:) string(indentation and alignment) key(desc)operator(:) string(Identation may be coupled with alignment.) key(in)operator(:) string(h2(\)>. Bingo.) key(html)operator(:) string(pre
and code
tags. Please also indent your code inside the tags to be sure that all Textile processors out there will ignore the contents.)
key(in)operator(:) string(|)
string()
string()
string(a.gsub!( /, '' \))
string(
)
string(
)
key(html)operator(:) string(|-)
string()
string()
string(a.gsub!( /</, '' \))
string(
)
string(
)
head
key(name)operator(:) string(div tags)
key(desc)operator(:) string(You may also choose to surround sections with div
tags to separate your document into sections. Instiki uses this technique to float a sidebar to the right.)
key(in)operator(:) string(|)
string(The main text of the page goes here and will stay to the left of the sidebar.
) head key(name)operator(:) string(numbered list) key(desc)operator(:) string(To make a numbered list, place each item in its own paragraph, preceded by ”#”.) key(in)operator(:) string(|-) comment(# A first item) comment(# A second item) comment(# A third) key(html)operator(:) string(|-) string(I searched Google.
) key(lite_mode_html)operator(:) string(I searched Google.) head key(name)operator(:) string(link aliases) key(desc)operator(:) string(If you are using the same link several times in your document, or you’d just like to be a tad more organized, you can use a link alias. Place the URL anywhere in your document, beginning with its alias in square brackets. Then, use the alias in place of the URL, using the link format above.) key(in)operator(:) string(|-) string(I am crazy about "Hobix":hobix) string(and "it's":hobix "all":hobix I ever) string("link to":hobix!) operator([)string(hobix]http://hobix.com) key(html)operator(:) string(|-) string(I am crazy about Hobix
)
string(and it’s all I ever
)
string(link to!
And others sat all round the small
)
string(machine and paid it to sing to them.
We use CSS.
) key(lite_mode_html)operator(:) string(We use CSS.) key(no_span_caps_html)operator(:) string(We use CSS.
) head key(name)operator(:) string(tables) key(desc)operator(:) string(Simple tables can be built by separating fields with pipe characters) key(in)operator(:) string(|-) string(| name | age | sex |) string(| joan | 24 | f |) string(| archie | 29 | m |) string(| bella | 45 | f |) key(html)operator(:) string(|-) string(name | ) string(age | ) string(sex | ) string(
joan | ) string(24 | ) string(f | ) string(
archie | ) string(29 | ) string(m | ) string(
bella | ) string(45 | ) string(f | ) string(
name | ) string(age | ) string(sex | ) string(
---|---|---|
joan | ) string(24 | ) string(f | ) string(
archie | ) string(29 | ) string(m | ) string(
bella | ) string(45 | ) string(f | ) string(
attribute list | ) string(
---|
align left | ) string(
align right | ) string(
center | ) string(
justify | ) string(
valign top | ) string(
bottom | ) string(
spans two cols | ) string(|
col 1 | ) string(col 2 | ) string(
spans 3 rows | ) string(a | ) string(
b | ) string(|
c | ) string(
Grey cell | ) string(
This | ) string(is | ) string(a | ) string(row | ) string(
This | ) string(is | ) string(a | ) string(row | ) string(
table
modifier and following it by a period.)
key(in)operator(:) string(|-)
string(|This|is|a|row|)
operator({)string(background:#ddd}. |This|is|grey|row|)
key(html)operator(:) string(|-)
string(This | ) string(is | ) string(a | ) string(row | ) string(
This | ) string(is | ) string(grey | ) string(row | ) string(
A pre block ends it.) head key(name)operator(:) string(extended block followed by blockquote) key(in)operator(:) string(|-) string(div.. Just a test.) string(Second div.) string(bq. A blockquote ends it.) key(html)operator(:) string(|-) string(
) string() head key(name)operator(:) string(extended block followed by block code) key(in)operator(:) string(|-) string(div.. Just a test.) string(Second div.) string(bc. A blockcode ends it.) key(html)operator(:) string(|-) string(A blockquote ends it.
) string(
A blockcode ends it.
)
head
key(name)operator(:) string(extended block followed by notextile block)
key(in)operator(:) string(|-)
string(div.. Just a test.)
string(Second div.)
string(notextile. A notextile block ends it.)
key(html)operator(:) string(|-)
string(before (in parens\) after
) head key(name)operator(:) string(parentheses in underscores) key(in)operator(:) string(|-) string(before _(in parens\)_ after) key(html)operator(:) string(|-) string(before (in parens\) after
) head key(name)operator(:) string(parentheses in asterisks) key(in)operator(:) string(|-) string(before *(in parens\)* after) key(html)operator(:) string(|-) string(before (in parens\) after
) head key(name)operator(:) string(parentheses in underscores in quotes) key(in)operator(:) string(|-) string("before _(in parens\)_ after") key(html)operator(:) string(|-) string(“before (in parens\) after”
) head key(name)operator(:) string(underscores in parentheses) key(in)operator(:) string(|-) string(one _two three_ (four _five six_\) seven) key(html)operator(:) string(|-) string(one two three (four five six\) seven
) head key(name)operator(:) string(underscores in parentheses in quotes) key(in)operator(:) string(|-) string("one _two three_ (four _five six_\) seven") key(html)operator(:) string(|-) string(“one two three (four five six\) seven”
) head key(name)operator(:) string(underscores in parentheses 2) key(in)operator(:) string(|-) string(one (two _three four_\) five) key(html)operator(:) string(|-) string(one (two three four\) five
) head key(name)operator(:) string(underscores in parentheses in quotes 2) key(in)operator(:) string(|-) string("one (two _three four_\) five") key(html)operator(:) string(|-) string(“one (two three four\) five”
) head key(name)operator(:) string(caps in parentheses) key(desc)operator(:) string(Uppercase words of three or more characters that are in parentheses should be recognized as well as those not in parentheses.) key(in)operator(:) string(IBM or (HAL\)) key(html)operator(:) string(IBM or (HAL\)
) key(no_span_caps_html)operator(:) string(IBM or (HAL\)
) head key(name)operator(:) string(phrase modifiers in parentheses) key(desc)operator(:) string(Inline modifiers are expected to work in parentheses as well.) key(in)operator(:) string(|-) string(__Amanita__s are mushrooms.) string(Lungworts (__Lobaria__\) are lichens.) string(Blah blah (normal text **bold**\) blah.) key(html)operator(:) string(|-) string(__Amanita__s are mushrooms.
)
string(Lungworts (Lobaria\) are lichens.
)
string(Blah blah (normal text bold\) blah.
citation [“(Berk.\) Hilton”], see
)
operator([)string(Papers “blah blah.”]