-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTextile Quick Reference.html
340 lines (326 loc) · 17 KB
/
Textile Quick Reference.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Textile Quick Reference</title>
<style type="text/css">
BODY {
margin: 5px;
}
TABLE {
font-family: georgia, serif;
font-size: 10pt;
padding: 5px;
width: 200px;
}
TH {
padding-top: 10px;
}
TD {
border-top: solid 1px #eee;
}
H1 {
font-size: 18pt;
}
H4 {
color: #999;
background-color: #fee;
border: solid 1px #caa;
margin: 10px 15px 5px 10px;
padding: 5px;
}
P {
margin: 2px 5px 2px 5px;
}
TD.example1 PRE {
background-color: #FEE;
font-family: georgia, serif;
font-size: 8pt;
padding: 5px;
padding: 5px;
}
TD.example3 {
border: solid 1px #DDD;
background-color: #EEE;
font-size: 8pt;
padding: 5px;
}
.big {
font-size: 12pt;
}
#big-red {
font-size: 12pt;
color: red;
}
#big-red2 {
font-size: 15pt;
color: red;
}
</style>
</head>
<body>
<div style="margin:-1px -1px 0;padding:0;border:1px solid #999;background:#fff"><div style="margin:12px;padding:8px;border:1px solid #999;background:#ddd;font:13px arial,sans-serif;color:#000;font-weight:normal;text-align:left">This is a cache of <a href="http://hobix.com/textile/quick.html" style="text-decoration:underline;color:#00c">http://hobix.com/textile/quick.html</a>. It is a snapshot of the page as it appeared on Aug 17, 2009 12:40:24 GMT but with some links fixed. <a href="/hobix.com/">Learn more about the disappearance of hobix.com</a></div>
</div></div><div style="position:relative">
<table>
<tr><th colspan='3'><h1>Textile Quick Reference</h1></th></tr>
<tr><th colspan='3'>Sections: <a href='#writing-in-textile'>Writing in Textile</a> | <a href='#quick-block-modifiers'>Quick Block Modifiers</a> | <a href='#quick-phrase-modifiers'>Quick Phrase Modifiers</a> | <a href='#attributes'>Attributes</a> | <a href='#lists'>Lists</a> | <a href='#external-references'>External References</a> | <a href='#tables'>Tables</a></th></tr>
<tr><th colspan='5'><a name='writing-in-textile'>Writing in Textile</a></th></tr>
<tr><td class='example1'><pre>A single paragraph.<br /><br />Followed by another.</pre></td><td>→</td><td class='example2'><p>A single paragraph.</p>
<p>Followed by another.</p></td></tr>
<tr><td class='example1'><pre>I am <b>very</b> serious.<br /><br /><pre><br /> I am <b>very</b> serious.<br /></pre></pre></td><td>→</td><td class='example2'><p>I am <b>very</b> serious.</p>
<pre>
I am <b>very</b> serious.
</pre></td></tr>
<tr><td class='example1'><pre>I spoke.<br />And none replied.</pre></td><td>→</td><td class='example2'><p>I spoke.
And none replied.</p></td></tr>
<tr><td class='example1'><pre>"Observe!"</pre></td><td>→</td><td class='example2'><p>“Observe!”</p></td></tr>
<tr><td class='example1'><pre>Observe -- very nice!</pre></td><td>→</td><td class='example2'><p>Observe—very nice!</p></td></tr>
<tr><td class='example1'><pre>Observe - tiny and brief.</pre></td><td>→</td><td class='example2'><p>Observe – tiny and brief.</p></td></tr>
<tr><td class='example1'><pre>Observe...</pre></td><td>→</td><td class='example2'><p>Observe…</p></td></tr>
<tr><td class='example1'><pre>Observe: 2 x 2.</pre></td><td>→</td><td class='example2'><p>Observe: 2×2.</p></td></tr>
<tr><td class='example1'><pre>one(TM), two(R), three(C).</pre></td><td>→</td><td class='example2'><p>one™, two®, three©.</p></td></tr>
<tr><th colspan='5'><a name='quick-block-modifiers'>Quick Block Modifiers</a></th></tr>
<tr><td class='example1'><pre>h1. Header 1</pre></td><td>→</td><td class='example2'><h1>Header 1</h1></td></tr>
<tr><td class='example1'><pre>h2. Header 2</pre></td><td>→</td><td class='example2'><h2>Header 2</h2></td></tr>
<tr><td class='example1'><pre>h3. Header 3</pre></td><td>→</td><td class='example2'><h3>Header 3</h3></td></tr>
<tr><td class='example1'><pre>An old text<br /><br />bq. A block quotation.<br /><br />Any old text</pre></td><td>→</td><td class='example2'><p>An old text</p>
<blockquote>
<p>A block quotation.</p>
</blockquote>
<p>Any old text</p></td></tr>
<tr><td class='example1'><pre>This is covered elsewhere[1].</pre></td><td>→</td><td class='example2'><p>This is covered elsewhere<sup><a href="#fn1">1</a></sup>.</p></td></tr>
<tr><td class='example1'><pre>fn1. Down here, in fact.</pre></td><td>→</td><td class='example2'><p id="fn1"><sup>1</sup> Down here, in fact.</p></td></tr>
<tr><th colspan='5'><a name='quick-phrase-modifiers'>Quick Phrase Modifiers</a></th></tr>
<tr><td class='example1'><pre>I _believe_ every word.</pre></td><td>→</td><td class='example2'><p>I <em>believe</em> every word.</p></td></tr>
<tr><td class='example1'><pre>And then? She *fell*!</pre></td><td>→</td><td class='example2'><p>And then? She <strong>fell</strong>!</p></td></tr>
<tr><td class='example1'><pre>I __know__.<br />I **really** __know__.</pre></td><td>→</td><td class='example2'><p>I <i>know</i>.
I <b>really</b> <i>know</i>.</p></td></tr>
<tr><td class='example1'><pre>??Cat's Cradle?? by Vonnegut</pre></td><td>→</td><td class='example2'><p><cite>Cat’s Cradle</cite> by Vonnegut</p></td></tr>
<tr><td class='example1'><pre>Convert with @r.to_html@</pre></td><td>→</td><td class='example2'><p>Convert with <code>r.to_html</code></p></td></tr>
<tr><td class='example1'><pre>I'm -sure- not sure.</pre></td><td>→</td><td class='example2'><p>I’m <del>sure</del> not sure.</p></td></tr>
<tr><td class='example1'><pre>You are a +pleasant+ child.</pre></td><td>→</td><td class='example2'><p>You are a <ins>pleasant</ins> child.</p></td></tr>
<tr><td class='example1'><pre>a ^2^ + b ^2^ = c ^2^</pre></td><td>→</td><td class='example2'><p>a <sup>2</sup> + b <sup>2</sup> = c <sup>2</sup></p></td></tr>
<tr><td class='example1'><pre>log ~2~ x</pre></td><td>→</td><td class='example2'><p>log <sub>2</sub> x</p></td></tr>
<tr><td class='example1'><pre>I'm %unaware% of most soft drinks.</pre></td><td>→</td><td class='example2'><p>I’m <span>unaware</span> of most soft drinks.</p></td></tr>
<tr><td class='example1'><pre>I'm %{color:red}unaware%<br />of most soft drinks.</pre></td><td>→</td><td class='example2'><p>I’m <span style="color:red;">unaware</span>
of most soft drinks.</p></td></tr>
<tr><th colspan='5'><a name='attributes'>Attributes</a></th></tr>
<tr><td class='example1'><pre>p(example1). An example</pre></td><td>→</td><td class='example2'><p class="example1">An example</p></td></tr>
<tr><td class='example1'><pre>p(#big-red). Red here</pre></td><td>→</td><td class='example2'><p id="big-red">Red here</p></td></tr>
<tr><td class='example1'><pre>p(example1#big-red2). Red here</pre></td><td>→</td><td class='example2'><p class="example1" id="big-red2">Red here</p></td></tr>
<tr><td class='example1'><pre>p{color:blue;margin:30px}. Spacey blue</pre></td><td>→</td><td class='example2'><p style="color:blue;margin:30px;">Spacey blue</p></td></tr>
<tr><td class='example1'><pre>p[fr]. rouge</pre></td><td>→</td><td class='example2'><p lang="fr">rouge</p></td></tr>
<tr><td class='example1'><pre>I seriously *{color:red}blushed*<br />when I _(big)sprouted_ that<br />corn stalk from my<br />%[es]cabeza%.</pre></td><td>→</td><td class='example2'><p>I seriously <strong style="color:red;">blushed</strong>
when I <em class="big">sprouted</em> that
corn stalk from my
<span lang="es">cabeza</span>.</p></td></tr>
<tr><td class='example1'><pre>p<. align left</pre></td><td>→</td><td class='example2'><p style="text-align:left;">align left</p></td></tr>
<tr><td class='example1'><pre>p>. align right</pre></td><td>→</td><td class='example2'><p style="text-align:right;">align right</p></td></tr>
<tr><td class='example1'><pre>p=. centered</pre></td><td>→</td><td class='example2'><p style="text-align:center;">centered</p></td></tr>
<tr><td class='example1'><pre>p<>. justified</pre></td><td>→</td><td class='example2'><p style="text-align:justify;">justified</p></td></tr>
<tr><td class='example1'><pre>p(. left ident 1em</pre></td><td>→</td><td class='example2'><p style="padding-left:1em;">left ident 1em</p></td></tr>
<tr><td class='example1'><pre>p((. left ident 2em</pre></td><td>→</td><td class='example2'><p style="padding-left:2em;">left ident 2em</p></td></tr>
<tr><td class='example1'><pre>p))). right ident 3em</pre></td><td>→</td><td class='example2'><p style="padding-right:3em;">right ident 3em</p></td></tr>
<tr><td class='example1'><pre>h2()>. Bingo.</pre></td><td>→</td><td class='example2'><h2 style="padding-left:1em;padding-right:1em;text-align:right;">Bingo.</h2></td></tr>
<tr><td class='example1'><pre>h3()>[no]{color:red}. Bingo</pre></td><td>→</td><td class='example2'><h3 style="color:red;padding-left:1em;padding-right:1em;text-align:right;" lang="no">Bingo</h3></td></tr>
<tr><td class='example1'><pre><pre><br /><code><br /> a.gsub!( /</, '' )<br /></code><br /></pre><br /></pre></td><td>→</td><td class='example2'><pre>
<code>
a.gsub!( /</, '' )
</code>
</pre></td></tr>
<tr><td class='example1'><pre><div style="float:right;"><br /><br />h3. Sidebar<br /><br />"Hobix":http://hobix.com/<br />"Ruby":http://ruby-lang.org/<br /><br /></div><br /><br />The main text of the<br />page goes here and will <br />stay to the left of the <br />sidebar.<br /></pre></td><td>→</td><td class='example2'><div style="float:right;">
<h3>Sidebar</h3>
<p><a href="http://hobix.com/">Hobix</a>
<a href="http://ruby-lang.org/">Ruby</a></p>
</div>
<p>The main text of the
page goes here and will
stay to the left of the
sidebar.</p></td></tr>
<tr><th colspan='5'><a name='lists'>Lists</a></th></tr>
<tr><td class='example1'><pre># A first item<br /># A second item<br /># A third</pre></td><td>→</td><td class='example2'><ol>
<li>A first item</li>
<li>A second item</li>
<li>A third</li>
</ol></td></tr>
<tr><td class='example1'><pre># Fuel could be:<br />## Coal<br />## Gasoline<br />## Electricity<br /># Humans need only:<br />## Water<br />## Protein</pre></td><td>→</td><td class='example2'><ol>
<li>Fuel could be:
<ol>
<li>Coal</li>
<li>Gasoline</li>
<li>Electricity</li>
</ol>
</li>
<li>Humans need only:
<ol>
<li>Water</li>
<li>Protein</li>
</ol></li>
</ol></td></tr>
<tr><td class='example1'><pre>* A first item<br />* A second item<br />* A third</pre></td><td>→</td><td class='example2'><ul>
<li>A first item</li>
<li>A second item</li>
<li>A third</li>
</ul></td></tr>
<tr><td class='example1'><pre>* Fuel could be:<br />** Coal<br />** Gasoline<br />** Electricity<br />* Humans need only:<br />** Water<br />** Protein</pre></td><td>→</td><td class='example2'><ul>
<li>Fuel could be:
<ul>
<li>Coal</li>
<li>Gasoline</li>
<li>Electricity</li>
</ul>
</li>
<li>Humans need only:
<ul>
<li>Water</li>
<li>Protein</li>
</ul></li>
</ul></td></tr>
<tr><th colspan='5'><a name='external-references'>External References</a></th></tr>
<tr><td class='example1'><pre>I searched "Google":http://google.com.</pre></td><td>→</td><td class='example2'><p>I searched <a href="http://google.com">Google</a>.</p></td></tr>
<tr><td class='example1'><pre>I am crazy about "Hobix":hobix<br />and "it's":hobix "all":hobix I ever<br />"link to":hobix!<br /><br />[hobix]http://hobix.com<br /></pre></td><td>→</td><td class='example2'><p>I am crazy about <a href="http://hobix.com">Hobix</a>
and <a href="http://hobix.com">it’s</a> <a href="http://hobix.com">all</a> I ever
<a href="http://hobix.com">link to</a>!</p></td></tr>
<tr><td class='example1'><pre>!http://redcloth.org/hobix.com/textile/sample.jpg!</pre></td><td>→</td><td class='example2'><p><img src="http://redcloth.org/hobix.com/textile/sample.jpg" alt="" /></p></td></tr>
<tr><td class='example1'><pre>!openwindow1.gif(Bunny.)!</pre></td><td>→</td><td class='example2'><p><img src="openwindow1.gif" title="Bunny." alt="Bunny." /></p></td></tr>
<tr><td class='example1'><pre>!openwindow1.gif!:http://hobix.com/</pre></td><td>→</td><td class='example2'><p><a href="http://hobix.com/"><img src="openwindow1.gif" alt="" /></a></p></td></tr>
<tr><td class='example1'><pre>!>obake.gif!<br /><br />And others sat all round the small<br />machine and paid it to sing to them.</pre></td><td>→</td><td class='example2'><p style="float:right"><img src="obake.gif" alt="" /></p>
<p>And others sat all round the small
machine and paid it to sing to them.</p></td></tr>
<tr><td class='example1'><pre>We use CSS(Cascading Style Sheets).</pre></td><td>→</td><td class='example2'><p>We use <acronym title="Cascading Style Sheets">CSS</acronym>.</p></td></tr>
<tr><th colspan='5'><a name='tables'>Tables</a></th></tr>
<tr><td class='example1'><pre>| name | age | sex |<br />| joan | 24 | f |<br />| archie | 29 | m |<br />| bella | 45 | f |</pre></td><td>→</td><td class='example2'><table>
<tr>
<td> name </td>
<td> age </td>
<td> sex </td>
</tr>
<tr>
<td> joan </td>
<td> 24 </td>
<td> f </td>
</tr>
<tr>
<td> archie </td>
<td> 29 </td>
<td> m </td>
</tr>
<tr>
<td> bella </td>
<td> 45 </td>
<td> f </td>
</tr>
</table></td></tr>
<tr><td class='example1'><pre>|_. name |_. age |_. sex |<br />| joan | 24 | f |<br />| archie | 29 | m |<br />| bella | 45 | f |</pre></td><td>→</td><td class='example2'><table>
<tr>
<th>name </th>
<th>age </th>
<th>sex </th>
</tr>
<tr>
<td> joan </td>
<td> 24 </td>
<td> f </td>
</tr>
<tr>
<td> archie </td>
<td> 29 </td>
<td> m </td>
</tr>
<tr>
<td> bella </td>
<td> 45 </td>
<td> f </td>
</tr>
</table></td></tr>
<tr><td class='example1'><pre>|_. attribute list |<br />|<. align left |<br />|>. align right|<br />|=. center |<br />|<>. justify |<br />|^. valign top |<br />|~. bottom |</pre></td><td>→</td><td class='example2'><table>
<tr>
<th>attribute list </th>
</tr>
<tr>
<td style="text-align:left;">align left </td>
</tr>
<tr>
<td style="text-align:right;">align right</td>
</tr>
<tr>
<td style="text-align:center;">center </td>
</tr>
<tr>
<td style="text-align:justify;">justify </td>
</tr>
<tr>
<td style="vertical-align:top;">valign top </td>
</tr>
<tr>
<td style="vertical-align:bottom;">bottom </td>
</tr>
</table></td></tr>
<tr><td class='example1'><pre>|\2. spans two cols |<br />| col 1 | col 2 |</pre></td><td>→</td><td class='example2'><table>
<tr>
<td colspan="2">spans two cols </td>
</tr>
<tr>
<td> col 1 </td>
<td> col 2 </td>
</tr>
</table></td></tr>
<tr><td class='example1'><pre>|/3. spans 3 rows | a |<br />| b |<br />| c |</pre></td><td>→</td><td class='example2'><table>
<tr>
<td rowspan="3">spans 3 rows </td>
<td> a </td>
</tr>
<tr>
<td> b </td>
</tr>
<tr>
<td> c </td>
</tr>
</table></td></tr>
<tr><td class='example1'><pre>|{background:#ddd}. Grey cell|</pre></td><td>→</td><td class='example2'><table>
<tr>
<td style="background:#ddd;">Grey cell</td>
</tr>
</table></td></tr>
<tr><td class='example1'><pre>table{border:1px solid black}.<br />|This|is|a|row|<br />|This|is|a|row|</pre></td><td>→</td><td class='example2'><table style="border:1px solid black;">
<tr>
<td>This</td>
<td>is</td>
<td>a</td>
<td>row</td>
</tr>
<tr>
<td>This</td>
<td>is</td>
<td>a</td>
<td>row</td>
</tr>
</table></td></tr>
<tr><td class='example1'><pre>|This|is|a|row|<br />{background:#ddd}. |This|is|grey|row|</pre></td><td>→</td><td class='example2'><table>
<tr>
<td>This</td>
<td>is</td>
<td>a</td>
<td>row</td>
</tr>
<tr style="background:#ddd;">
<td>This</td>
<td>is</td>
<td>grey</td>
<td>row</td>
</tr>
</table></td></tr>
</table>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-345379-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>