- Separate paragraphs with blank lines
- With a paragraph, a line break forces a new line in the output.
- Within a paragraph use special character pairs for
Hyperlinks and Images
- For simple links, use
- For more complex links, use regular
- Include images with
- Create a bullet list by preceding each line with an asterisk
- Create a numbered list by preceding each line with a #
- Inline, the
<code>...</code>tag displays in a code font and disables interpretation of special character
- For blocks of code, you need to next
<pre> <code> a = 1 b = 2 </code>
Quoting a Block of Text
bq.in front of the line containing the text to be quoted.
- The textile input:
Fred said: bq. I was confused by the second example. Wouldn't @var@ be set to @"cat"@? This won't happen, because Ruby strings are assigned by reference. In the following code: <pre> <code> param = "cat" var = param </code> </pre> @var@ and @param@ both point to the same string. If you want a different String, you can: * use the @dup@ method * use a String constructor * ...
- The result:
I was confused by the second example. Wouldn’t
varbe set to
This won’t happen, because Ruby strings are assigned by reference. In the following code:
param = "cat" var = param
paramboth point to the same string. If you want a different String, you can:
- use the
- use a String constructor
- use the
1 Here are some external links to reference material on Textile.