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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
|
head<head(---)> comment(# From http://thresholdstate.com/articles/4312/the-textile-reference-manual)
key(name)operator(:) string(paragraph)
key(desc)operator(:) string(Paragraphs are separated by blank lines. Each paragraph of text is transformed into a XHTML <p> paragraph block.)
key(in)operator(:) string<delimiter(|-)content(
A paragraph.
Another paragraph.)>
key(html)operator(:) string<delimiter(|-)content(
<p>A paragraph.</p>
<p>Another paragraph.</p>)>
head<head(---)>
key(name)operator(:) string(line breaks)
key(desc)operator(:) string(Line breaks within paragraphs are transformed into XHTML line breaks.)
key(in)operator(:) string<delimiter(|-)content(
A paragraph with
a line break.)>
key(html)operator(:) string<delimiter(|-)content(
<p>A paragraph with<br />
a line break.</p>)>
head<head(---)>
key(name)operator(:) string(xhtml tags)
key(desc)operator(:) string(Simple XHTML tags may be included in a paragraph.)
key(in)operator(:) string(Here's some <b>bold</b> text.)
key(html)operator(:) string(<p>Here’s some <b>bold</b> text.</p>)
head<head(---)>
key(name)operator(:) string(no paragraph tags)
key(desc)operator(:) string(A line beginning with a space will be left untouched, and not wrapped in <p> tags.)
key(in)operator(:) string<delimiter(")content( No paragraph tags here.)delimiter(")>
key(html)operator(:) string<delimiter(")content(No paragraph tags here.)delimiter(")>
key(valid_html)operator(:) string(false)
head<head(---)>
key(name)operator(:) string(smart quotes)
key(desc)operator(:) string(Single and double typewriter quotation marks ' and " are transformed into typographically correct “curly” quote marks.)
key(in)operator(:) string('"Proceed!" said he to the host.')
key(html)operator(:) string('<p>“Proceed!” said he to the host.</p>')
head<head(---)>
key(name)operator(:) string(smart quotes 2)
key(in)operator(:) string<delimiter(")content('Proceed!' said he to the host.)delimiter(")>
key(html)operator(:) string<delimiter(")content(<p>‘Proceed!’ said he to the host.</p>)delimiter(")>
head<head(---)>
key(name)operator(:) string(nested quotation marks)
key(desc)operator(:) string(Single and double quotation marks may be nested one inside the other.)
key(in)operator(:) string<delimiter(|-)content(
"'I swear, captain,' replied I.")>
key(html)operator(:) string<delimiter(|-)content(
<p>“‘I swear, captain,’ replied I.”</p>)>
head<head(---)>
key(name)operator(:) string(nested quotation marks 2)
key(in)operator(:) string<delimiter(|-)content(
'"I swear, captain," replied I.')>
key(html)operator(:) string<delimiter(|-)content(
<p>‘“I swear, captain,” replied I.’</p>)>
head<head(---)>
key(name)operator(:) string(apostrophe glyphs)
key(desc)operator(:) string(Single quotation marks ' will be turned into apostrophe glyphs when used as such.)
key(in)operator(:) string(Greengrocers' apostrophe's.)
key(html)operator(:) string(<p>Greengrocers’ apostrophe’s.</p>)
head<head(---)>
key(name)operator(:) string(em-dash glyphs)
key(desc)operator(:) string(Double -- dashes become an em-dash glyph.)
key(in)operator(:) string(You know the Italian proverb -- Chi ha compagno ha padrone.)
key(html)operator(:) string(<p>You know the Italian proverb — Chi ha compagno ha padrone.</p>)
head<head(---)>
key(name)operator(:) string(em-dash glyphs 2)
key(in)operator(:) string(You know the Italian proverb--Chi ha compagno ha padrone.)
key(html)operator(:) string(<p>You know the Italian proverb—Chi ha compagno ha padrone.</p>)
head<head(---)>
key(name)operator(:) string(en-dash glyphs)
key(desc)operator(:) string(Single - dashes are replaced with en-dashes.)
key(in)operator(:) string(You know the Italian proverb - Chi ha compagno ha padrone.)
key(html)operator(:) string(<p>You know the Italian proverb – Chi ha compagno ha padrone.</p>)
head<head(---)>
key(name)operator(:) string(ellipsis character)
key(desc)operator(:) string(Three period marks become an ellipsis character.)
key(in)operator(:) string(Meanwhile...)
key(html)operator(:) string(<p>Meanwhile…</p>)
head<head(---)>
key(name)operator(:) string(dimension character)
key(desc)operator(:) string(An “x” is replaced with the dimension character when used between numbers.)
key(in)operator(:) string(1 x 2 x 3 = 6)
key(html)operator(:) string(<p>1 × 2 × 3 = 6</p>)
head<head(---)>
key(name)operator(:) string(dimension character 2)
key(in)operator(:) string(1x2x3 = 6)
key(html)operator(:) string(<p>1×2×3 = 6</p>)
head<head(---)>
key(name)operator(:) string(trademark register copyright)
key(desc)operator(:) string(Trademark, Registered and Copyright symbols are represented by their common plain text equivalents.)
key(in)operator(:) string(Registered(r\) Trademark(tm\) Copyright (c\).)
key(html)operator(:) string(<p>Registered® Trademark™ Copyright ©.</p>)
head<head(---)>
key(name)operator(:) string(acronyms)
key(desc)operator(:) string(Acronyms consist of three or more uppercase characters, followed immediately by words in parentheses.)
key(in)operator(:) string(ABC(Always Be Closing\))
key(html)operator(:) string(<p><acronym title="Always Be Closing"><span class="caps">ABC</span></acronym></p>)
key(no_span_caps_html)operator(:) string(<p><acronym title="Always Be Closing">ABC</acronym></p>)
head<head(---)>
key(name)operator(:) string(uppercase)
key(desc)operator(:) string(Uppercase words of three or more characters are enclosed with a special span element.)
key(in)operator(:) string(IBM or HAL)
key(html)operator(:) string(<p><span class="caps">IBM</span> or <span class="caps">HAL</span></p>)
key(no_span_caps_html)operator(:) string(<p>IBM or HAL</p>)
head<head(---)>
key(name)operator(:) string(emphasis)
key(desc)operator(:) string(Emphasis is added with _ underscores.)
key(in)operator(:) string(The _underlying_ cause.)
key(html)operator(:) string(<p>The <em>underlying</em> cause.</p>)
head<head(---)>
key(name)operator(:) string(strong text)
key(desc)operator(:) string(Strong text is indicated by * asterisks.)
key(in)operator(:) string(The *underlying* cause.)
key(html)operator(:) string(<p>The <strong>underlying</strong> cause.</p>)
head<head(---)>
key(name)operator(:) string(italic text)
key(desc)operator(:) string(em is a semantic tag, usually represented by browsers as italic text. To produce italic tags instead, use double underscores.)
key(in)operator(:) string(The __underlying__ cause.)
key(html)operator(:) string(<p>The <i>underlying</i> cause.</p>)
head<head(---)>
key(name)operator(:) string(bold text)
key(desc)operator(:) string(strong is a semantic tag, usually represented by browsers as bold text. To produce bold tags instead, use double asterisks.)
key(in)operator(:) string(The **underlying** cause.)
key(html)operator(:) string(<p>The <b>underlying</b> cause.</p>)
head<head(---)>
key(name)operator(:) string(citation)
key(desc)operator(:) string(Double question marks represent a citation, like the title of a book.)
key(in)operator(:) string(??The Count of Monte Cristo??, by Dumas.)
key(html)operator(:) string(<p><cite>The Count of Monte Cristo</cite>, by Dumas.</p>)
head<head(---)>
key(name)operator(:) string(inserted and deleted text)
key(desc)operator(:) string(Inserted and deleted text is represented by + plus and - minus symbols.)
key(in)operator(:) string(Scratch -that-, replace with +this+.)
key(html)operator(:) string(<p>Scratch <del>that</del>, replace with <ins>this</ins>.</p>)
head<head(---)>
key(name)operator(:) string(subscript)
key(desc)operator(:) string(Subscript text is indicated by ~ tilde characters.)
key(in)operator(:) string(log ~2~ n)
key(html)operator(:) string(<p>log <sub>2</sub> n</p>)
head<head(---)>
key(name)operator(:) string(superscript)
key(desc)operator(:) string(Superscript text is indicated by ^ caret characters.)
key(in)operator(:) string(2 ^x^)
key(html)operator(:) string(<p>2 <sup>x</sup></p>)
head<head(---)>
key(name)operator(:) string(span tag)
key(desc)operator(:) string(Percentage marks will enclose text with a XHTML span tag.)
key(in)operator(:) string(The %underlying% cause.)
key(html)operator(:) string(<p>The <span>underlying</span> cause.</p>)
head<head(---)>
key(name)operator(:) string(code)
key(desc)operator(:) string(To include a short snippet of code such as XHTML or Javascript, surround it with @ “at” symbols. XHTML significant characters within a code phrase will be escaped for display to the reader.)
key(in)operator(:) string(About the @<hr />@ tag.)
key(html)operator(:) string(<p>About the <code><hr /></code> tag.</p>)
head<head(---)>
key(name)operator(:) string(links)
key(desc)operator(:) string(Links are represented by double quotes and a colon.)
key(in)operator(:) string('"link text":http://example.com/')
key(html)operator(:) string(<p><a href="http://example.com/">link text</a></p>)
head<head(---)>
key(name)operator(:) string(local links)
key(desc)operator(:) string(The host name may be ommitted for local links.)
key(in)operator(:) string('"link text":/example')
key(html)operator(:) string(<p><a href="/example">link text</a></p>)
head<head(---)>
key(name)operator(:) string(link title)
key(desc)operator(:) string(A title may be placed in (\) parentheses.)
key(in)operator(:) string('"link text(with title\)":http://example.com/')
key(html)operator(:) string(<p><a href="http://example.com/" title="with title">link text</a></p>)
head<head(---)>
key(name)operator(:) string(link alias)
key(desc)operator(:) string(For frequent linking to a single URL, you can specify a link alias with [] square brackets.)
key(in)operator(:) string<delimiter(|-)content(
Here's "a link":tstate, and
"another link":tstate to the same site.
[tstate]http://thresholdstate.com/)>
key(html)operator(:) string<delimiter(|-)content(
<p>Here’s <a href="http://thresholdstate.com/">a link</a>, and<br />
<a href="http://thresholdstate.com/">another link</a> to the same site.</p>)>
head<head(---)>
key(name)operator(:) string(image)
key(desc)operator(:) string(Use ! exclamation marks to insert an image tag.)
key(in)operator(:) string<delimiter(")content(!/img.gif!)delimiter(")>
key(html)operator(:) string(<p><img src="/img.gif" alt="" /></p>)
head<head(---)>
key(name)operator(:) string(image 2)
key(in)operator(:) string<delimiter(")content(!http://thresholdstate.com/img.gif!)delimiter(")>
key(html)operator(:) string(<p><img src="http://thresholdstate.com/img.gif" alt="" /></p>)
head<head(---)>
key(name)operator(:) string(image alt)
key(desc)operator(:) string(Use (\) parentheses to include “alt” text.)
key(in)operator(:) string<delimiter(")content(!/img.gif(alt text\)!)delimiter(")>
key(html)operator(:) string(<p><img src="/img.gif" title="alt text" alt="alt text" /></p>)
head<head(---)>
key(name)operator(:) string(image links)
key(desc)operator(:) string(Images may be combined with links by using an !image! in place of the link text.)
key(in)operator(:) string<delimiter(")content(!/img.gif!:http://textpattern.com/)delimiter(")>
key(html)operator(:) string(<p><a href="http://textpattern.com/"><img src="/img.gif" alt="" /></a></p>)
head<head(---)>
key(name)operator(:) string(headers)
key(desc)operator(:) string(Headers are represented by h1., h2., … h6..)
key(in)operator(:) string(h1. Heading 1)
key(html)operator(:) string(<h1>Heading 1</h1>)
head<head(---)>
key(name)operator(:) string(headers 2)
key(in)operator(:) string(h2. Heading 2)
key(html)operator(:) string(<h2>Heading 2</h2>)
head<head(---)>
key(name)operator(:) string(headers 3)
key(in)operator(:) string(h6. Heading 6)
key(html)operator(:) string(<h6>Heading 6</h6>)
head<head(---)>
key(name)operator(:) string(paragraph text)
key(desc)operator(:) string<delimiter(")content(Paragraph p text is represented by p.. This is the default block type: any paragraph without a block modifier will automatically be enclosed with p tags.)delimiter(")>
key(in)operator(:) string<delimiter(|-)content(
p. A paragraph.
Continued.
Also a paragraph.)>
key(html)operator(:) string<delimiter(|-)content(
<p>A paragraph.<br />
Continued.</p>
<p>Also a paragraph.</p>)>
head<head(---)>
key(name)operator(:) string(block quote)
key(desc)operator(:) string(bq. indicates a quoted block of text.)
key(in)operator(:) string<delimiter(|-)content(
bq. A quotation.
Continued.
Regular paragraph.)>
key(html)operator(:) string<delimiter(|-)content(
<blockquote>
<p>A quotation.<br />
Continued.</p>
</blockquote>
<p>Regular paragraph.</p>)>
head<head(---)>
key(name)operator(:) string(block quote citation)
key(desc)operator(:) string(Block quotes may include a citation URL immediately following the period.)
key(in)operator(:) string(bq.:http://thresholdstate.com/ A cited quotation.)
key(html)operator(:) string<delimiter(|-)content(
<blockquote cite="http://thresholdstate.com/">
<p>A cited quotation.</p>
</blockquote>)>
head<head(---)>
key(name)operator(:) string(footnotes)
key(desc)operator(:) string(Footnotes are represented by the fn1., fn2., … block modifiers.)
key(in)operator(:) string<delimiter(|-)content(
A footnote reference[1].
fn1. The footnote.)>
key(html)operator(:) string<delimiter(|-)content(
<p>A footnote reference<sup class="footnote"><a href="#fn1">1</a></sup>.</p>
<p class="footnote" id="fn1"><sup>1</sup> The footnote.</p>)>
comment(# html: |-)
comment(# <p>A footnote reference<sup class="footnote"><a href="#fn1216642796463b1223ae29d">1</a></sup>.</p>)
comment(# <p class="footnote" id="fn1216642796463b1223ae29d"><sup>1</sup> The footnote.</p>)
head<head(---)>
key(name)operator(:) string(block code)
key(desc)operator(:) string(Code such as XHTML, Javascript or PHP may be displayed using the bc. “block code” modifier. XHTML significant characters such as < and > will be escaped within code blocks – bc is used for displaying code to the reader, not for executing it.)
key(note)operator(:) string(Note that Textile will interpret any blank lines within the code as indicating the end of the code block. See Extended Blocks below for an explanation of how to display longer blocks of code.)
key(in)operator(:) string<delimiter(|-)content(
bc. <script>
// a Javascript example
alert("Hello World"\);
</script>)>
key(html)operator(:) string<delimiter(|-)content(
<pre><code><script>
// a Javascript example
alert("Hello World"\);
</script></code></pre>)>
head<head(---)>
key(name)operator(:) string(preformatted text)
key(desc)operator(:) string(Use the pre. block modifier for pre-formatted text. XHTML significant characters within the block will be escaped.)
key(note)operator(:) string(pre. is almost identical to bc., with the exception that <code>...</code> tags are not used within the <pre> block.)
key(in)operator(:) string<delimiter(|-)content(
pre. Pre-formatted
text)>
key(html)operator(:) string<delimiter(|-)content(
<pre>Pre-formatted
text</pre>)>
head<head(---)>
key(name)operator(:) string(notextile)
key(desc)operator(:) string(The notextile. block modifier applies no Textile processing at all to a block. Raw XHTML characters are passed through untouched, so this may be used to insert explicit XHTML markup, or execute Javascript or PHP code.)
key(in)operator(:) string<delimiter(|-)content(
notextile. <script type="text/javascript">
document.write("Hello World!"\);
</script>
<noscript>Your browser doesn't support Javascript</noscript>)>
key(html)operator(:) string<delimiter(|-)content(
<script type="text/javascript">
document.write("Hello World!"\);
</script>
<noscript>Your browser doesn't support Javascript</noscript>)>
key(valid_html)operator(:) string(false)
head<head(---)>
key(name)operator(:) string(class attribute)
key(desc)operator(:) string(CSS classes are specified with (\) parentheses.)
key(in)operator(:) string(p(myclass\). My classy paragraph.)
key(html)operator(:) string(<p class="myclass">My classy paragraph.</p>)
head<head(---)>
key(name)operator(:) string(id attribute)
key(desc)operator(:) string(CSS IDs are specified with (\) parentheses.)
key(in)operator(:) string(p(#myid\). My ID paragraph.)
key(html)operator(:) string(<p id="myid">My ID paragraph.</p>)
head<head(---)>
key(name)operator(:) string(style attribute)
key(desc)operator(:) string(CSS styles are specified with {} braces.)
key(in)operator(:) string(p{color:red}. Red rum.)
key(html)operator(:) string(<p style="color:red;">Red rum.</p>)
head<head(---)>
key(name)operator(:) string(lang attribute)
key(desc)operator(:) string(Languages are specified with [] brackets.)
key(in)operator(:) string(p[fr-fr]. En français.)
key(html)operator(:) string(<p lang="fr-fr">En français.</p>)
head<head(---)>
key(name)operator(:) string(phrase modifiers)
key(desc)operator(:) string(The same syntax may be applied to phrase modifiers.)
key(in)operator(:) string(A *(myclass\)classy* phrase.)
key(html)operator(:) string(<p>A <strong class="myclass">classy</strong> phrase.</p>)
head<head(---)>
key(name)operator(:) string(phrase modifiers 2)
key(in)operator(:) string(An _(#myid2\)ID_ phrase.)
key(html)operator(:) string(<p>An <em id="myid2">ID</em> phrase.</p>)
head<head(---)>
key(name)operator(:) string(phrase modifiers 3)
key(in)operator(:) string(The %{color:blue}blue% room.)
key(html)operator(:) string(<p>The <span style="color:blue;">blue</span> room.</p>)
head<head(---)>
key(name)operator(:) string(block and phrase attributes combined)
key(desc)operator(:) string(Block and phrase attributes may be combined.)
key(in)operator(:) string(p(myclass#myid3\){color:green}[de-de]. A complex paragraph.)
key(html)operator(:) string(<p style="color:green;" class="myclass" lang="de-de" id="myid3">A complex paragraph.</p>)
head<head(---)>
key(name)operator(:) string(block and phrase attributes combined 2)
key(in)operator(:) string(A ??(myclass#myid4\){color:green}[de-de]complex?? phrase.)
key(html)operator(:) string(<p>A <cite style="color:green;" class="myclass" lang="de-de" id="myid4">complex</cite> phrase.</p>)
head<head(---)>
key(name)operator(:) string(extended blocks)
key(desc)operator(:) string(Normally a block modifier covers a single block of text, and ends at the first blank line. To extend a block over multiple paragraphs that include blank lines, use a block modifier with two period marks instead of one. To close the extended block, use a different block modifier on the next paragraph.)
key(in)operator(:) string<delimiter(|-)content(
bq.. A quote.
The quote continued.
p. Back to paragraph text.)>
key(html)operator(:) string<delimiter(|-)content(
<blockquote>
<p>A quote.</p>
<p>The quote continued.</p>
</blockquote>
<p>Back to paragraph text.</p>)>
head<head(---)>
key(name)operator(:) string(extended block code)
key(desc)operator(:) string(Extended blocks are useful for displaying longer examples of code that contain blank lines.)
key(in)operator(:) string<delimiter(|-)content(
A PHP code example.
bc.. <?php
function hello(\) {
// display a hello message
print "Hello, World";
}
?>
p. Following paragraph.)>
key(html)operator(:) string<delimiter(|-)content(
<p>A <span class="caps">PHP</span> code example.</p>
<pre><code><?php
function hello(\) {
// display a hello message</code>
<code>print "Hello, World";
}
?></code>
</pre>
<p>Following paragraph.</p>)>
head<head(---)>
key(name)operator(:) string(extended block attributes)
key(desc)operator(:) string(Any block attributes on an extended block will be included on each following block.)
key(in)operator(:) string<delimiter(|-)content(
p(myclass\).. A classy paragraph.
Another classy paragraph.
p. Not so classy.)>
key(html)operator(:) string<delimiter(|-)content(
<p class="myclass">A classy paragraph.</p>
<p class="myclass">Another classy paragraph.</p>
<p>Not so classy.</p>)>
head<head(---)>
key(name)operator(:) string(extended block quote attributes)
key(desc)operator(:) string(Attributes on bq.. extended blocks will be included on both the inner and outer blocks.)
key(in)operator(:) string<delimiter(|-)content(
bq(myclass\).. Quote paragraph 1.
Paragraph 2.)>
key(html)operator(:) string<delimiter(|-)content(
<blockquote class="myclass">
<p class="myclass">Quote paragraph 1.</p>
<p class="myclass">Paragraph 2.</p>
</blockquote>)>
head<head(---)>
key(name)operator(:) string(extended block code attributes)
key(desc)operator(:) string(Attributes on bc.. extended blocks will be included on both the inner and outer blocks.)
key(in)operator(:) string<delimiter(|-)content(
bc(myclass\).. Code block 1.
Code block 2.)>
key(html)operator(:) string<delimiter(|-)content(
<pre class="myclass"><code class="myclass">Code block 1.</code>
<code class="myclass">Code block 2.</code></pre>)>
head<head(---)>
key(name)operator(:) string(raw xhtml left in tact)
key(desc)operator(:) string(Raw XHTML tags are generally left untouched by Textile. Span tags that enclose only part of a block of text will be left intact, while the block itself is treated normally.)
key(in)operator(:) string(<b>bold</b> and <i>italic</i>, the hard way.)
key(html)operator(:) string(<p><b>bold</b> and <i>italic</i>, the hard way.</p>)
head<head(---)>
key(name)operator(:) string(paragraphs entirely raw xhtml)
key(desc)operator(:) string(Paragraphs that consist entirely of raw XHTML block tags will not be enclosed in <p>...</p> tags.)
key(in)operator(:) string(<div class="mydiv">My div</div>)
key(html)operator(:) string(<div class="mydiv">My div</div>)
head<head(---)>
key(name)operator(:) string(paragraphs with inline xhtml)
key(desc)operator(:) string(Paragraphs that consist only of inline XHTML tags, will be enclosed in <p>...</p> tags.)
key(in)operator(:) string(<img src="/img.gif" alt="image" />)
key(html)operator(:) string(<p><img src="/img.gif" alt="image" /></p>)
head<head(---)>
key(name)operator(:) string(paragraphs with inline xhtml 2)
key(in)operator(:) string(<span class="myspan">I'll make my own way.</span>)
key(html)operator(:) string('<p><span class="myspan">I’ll make my own way.</span></p>')
head<head(---)>
key(name)operator(:) string(paragraphs partly enclosed in xhtml block tags)
key(desc)operator(:) string(Paragraphs that are only partly enclosed in block tags will be enclosed in <p>...</p> tags.)
key(in)operator(:) string(<div>inside</div> and outside.)
key(html)operator(:) string(<div>inside</div> <p>and outside.</p>)
comment(# html: <p><div>inside</div> and outside.</p>)
head<head(---)>
key(name)operator(:) string(complex xhtml blocks)
key(desc)operator(:) string(Textile can’t always identify the beginning and end of long or complex blocks of XHTML. To prevent Textile from enclosing complex XHTML blocks in paragraph tags, either use a space at the beginning of each line...)
key(in)operator(:) string<delimiter(")content( <div>\\n <span>My div</span>\\n </div>)delimiter(")>
key(html)operator(:) string<delimiter(")content(<div>\\n<span>My div</span>\\n</div>)delimiter(")>
head<head(---)>
key(name)operator(:) string(complex xhtml blocks 2)
key(desc)operator(:) string(...or a notexile.. extended block.)
key(in)operator(:) string<delimiter(|-)content(
notextile.. <div>
<span>My div</span>
</div>)>
key(html)operator(:) string<delimiter(|-)content(
<div>
<span>My div</span>
</div>)>
head<head(---)>
key(name)operator(:) string(complex xhtml blocks with inline formatting)
key(desc)operator(:) string(Textile will not wrap lines that start with a space in paragraph tags, but it should parse inline signatures)
key(in)operator(:) string<delimiter(")content( <div>\\n <span>My *div*</span>\\n </div>)delimiter(")>
key(html)operator(:) string<delimiter(")content(<div>\\n<span>My <strong>div</strong></span>\\n</div>)delimiter(")>
head<head(---)>
key(name)operator(:) string(explicit pre escapement)
key(desc)operator(:) string(The contents of explicit <pre>...</pre> tags are escaped for display. )
key(in)operator(:) string<delimiter(|-)content(
<pre>
A HTML <b>example</b>
</pre>)>
key(html)operator(:) string<delimiter(|-)content(
<pre>
A HTML <b>example</b>
</pre>)>
key(note)operator(:) string(This syntax is supported for backwards compatibility only, and doesn’t always work as expected. The block modifier pre. should be used instead.)
head<head(---)>
key(name)operator(:) string(explicit code escapement)
key(desc)operator(:) string(The contents of explicit <code>...</code> tags are escaped for display.)
key(in)operator(:) string<delimiter(|-)content(
<code>
Another HTML <b>example</b>
</code>)>
key(html)operator(:) string<delimiter(|-)content(
<p><code>
Another HTML <b>example</b>
</code></p>)>
key(note)operator(:) string(This syntax is supported for backwards compatibility only, and doesn’t always work as expected. The block modifier bc. should be used instead.)
head<head(---)>
key(name)operator(:) string(notextile tags)
key(desc)operator(:) string(Blocks enclosed by the pseudo tag <notextile>...</notextile> will be left untouched.)
key(in)operator(:) string<delimiter(|-)content(
<notextile>
p. Leave me alone
</notextile>)>
key(html)operator(:) string<delimiter(|-)content(
p. Leave me alone)>
comment(# html: |-)
comment(# <p>)
comment(# p. Leave me alone)
comment(# </p>)
key(note)operator(:) string(This syntax is supported for backwards compatibility only, and doesn’t always work as expected. The block modifier notextile. should be used instead.)
key(valid_html)operator(:) string(false)
head<head(---)>
key(name)operator(:) string(left aligned text)
key(desc)operator(:) string(Left alignment is specified with a < less than symbol.)
key(in)operator(:) string(p<. Left-aligned paragraph.)
key(html)operator(:) string(<p style="text-align:left;">Left-aligned paragraph.</p>)
head<head(---)>
key(name)operator(:) string(right aligned text)
key(desc)operator(:) string(Right alignment is specified with a > greater than symbol.)
key(in)operator(:) string(h3>. Right-aligned heading.)
key(html)operator(:) string(<h3 style="text-align:right;">Right-aligned heading.</h3>)
head<head(---)>
key(name)operator(:) string(justified text)
key(desc)operator(:) string(Use both <> symbols for justified text.)
key(in)operator(:) string(p<>. Justified paragraph.)
key(html)operator(:) string(<p style="text-align:justify;">Justified paragraph.</p>)
head<head(---)>
key(name)operator(:) string(centered text)
key(desc)operator(:) string(An = equals symbol represents centered text.)
key(in)operator(:) string(h3=. Centered heading.)
key(html)operator(:) string(<h3 style="text-align:center;">Centered heading.</h3>)
head<head(---)>
key(name)operator(:) string(padding)
key(desc)operator(:) string(Use empty ( and \) parentheses to add padding to blocks, in multiples of 1 em.)
key(in)operator(:) string(p(. Left pad 1em.)
key(html)operator(:) string(<p style="padding-left:1em;">Left pad 1em.</p>)
head<head(---)>
key(name)operator(:) string(padding 2)
key(in)operator(:) string(p\)\). Right pad 2em.)
key(html)operator(:) string(<p style="padding-right:2em;">Right pad 2em.</p>)
head<head(---)>
key(name)operator(:) string(padding 3)
key(in)operator(:) string(p(\). Left and right pad 1em.)
key(html)operator(:) string(<p style="padding-left:1em;padding-right:1em;">Left and right pad 1em.</p>)
head<head(---)>
key(name)operator(:) string(numeric lists)
key(desc)operator(:) string(Numeric lists are represented by lines beginning with) comment(#.)
key(in)operator(:) string<delimiter(|-)content(
# Item one
# Item two
# Item three)>
key(html)operator(:) string<delimiter(|-)content(
<ol>
<li>Item one</li>
<li>Item two</li>
<li>Item three</li>
</ol>)>
head<head(---)>
key(name)operator(:) string(bulleted lists)
key(desc)operator(:) string(Bulleted lists are represented by lines beginning with *.)
key(in)operator(:) string<delimiter(|-)content(
* Item A
* Item B
* Item C)>
key(html)operator(:) string<delimiter(|-)content(
<ul>
<li>Item A</li>
<li>Item B</li>
<li>Item C</li>
</ul>)>
head<head(---)>
key(name)operator(:) string(list attributes)
key(desc)operator(:) string(Attributes applied to the first list item will apply to the list itself.)
key(in)operator(:) string<delimiter(|-)content(
*{color:red} Item one
* Item two
* Item three)>
key(html)operator(:) string<delimiter(|-)content(
<ul style="color:red;">
<li>Item one</li>
<li>Item two</li>
<li>Item three</li>
</ul>)>
head<head(---)>
key(name)operator(:) string(nested lists)
key(desc)operator(:) string(Use multiple) comment(# or * symbols to create nested lists.)
key(in)operator(:) string<delimiter(|-)content(
# Item one
## Item one-A
## Item one-B
### Item one-B-a
# Item two)>
key(html)operator(:) string<delimiter(|-)content(
<ol>
<li>Item one
<ol>
<li>Item one-A</li>
<li>Item one-B
<ol>
<li>Item one-B-a</li>
</ol></li>
</ol></li>
<li>Item two</li>
</ol>)>
head<head(---)>
key(name)operator(:) string(tables)
key(desc)operator(:) string(Tables can be constructed using | “pipe” symbols to separate cells.)
key(in)operator(:) string<delimiter(|)>string(a|simple|table|)
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr>
<td>a</td>
<td>simple</td>
<td>table</td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(table heading cells)
key(desc)operator(:) string(Use _. to indicate table heading cells.)
key(in)operator(:) string<delimiter(|-)content(
|_. a|_. table|_. heading|
|a|table|row|)>
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr>
<th>a</th>
<th>table</th>
<th>heading</th>
</tr>
<tr>
<td>a</td>
<td>table</td>
<td>row</td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(cell attributes)
key(desc)operator(:) string(Attributes may be applied separately to individual cells, rows, and entire tables. Cell attributes are placed within each cell.)
key(in)operator(:) string<delimiter(|)>string(a|{color:red}. styled|cell|)
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr>
<td>a</td>
<td style="color:red;">styled</td>
<td>cell</td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(row attributes)
key(desc)operator(:) string(Row attributes are placed at the beginning of a row, followed by a dot and a space.)
key(in)operator(:) string((rowclass\). |a|classy|row|)
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr class="rowclass">
<td>a</td>
<td>classy</td>
<td>row</td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(table attributes)
key(desc)operator(:) string(Table attributes are specified by placing the special table. block modifier immediately before the table.)
key(in)operator(:) string<delimiter(|-)content(
table(tableclass\).
|a|classy|table|
|a|classy|table|)>
key(html)operator(:) string<delimiter(|-)content(
<table class="tableclass">
<tr>
<td>a</td>
<td>classy</td>
<td>table</td>
</tr>
<tr>
<td>a</td>
<td>classy</td>
<td>table</td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(vertical alignment)
key(desc)operator(:) string(Special alignment symbols are available for vertical alignment within table cells.)
key(in)operator(:) string<delimiter(|)>string(^. top alignment|)
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr>
<td style="vertical-align:top;">top alignment</td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(vertical alignment 2)
key(in)operator(:) string<delimiter(|-)content(
|-. middle alignment|)>
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr>
<td style="vertical-align:middle;">middle alignment</td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(vertical alignment 3)
key(in)operator(:) string<delimiter(|-)content(
|~. bottom alignment|)>
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr>
<td style="vertical-align:bottom;">bottom alignment</td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(column span)
key(desc)operator(:) string(Use a \\ backslash to indicate a column span.)
key(in)operator(:) string<delimiter(|-)content(
|\\2. spans two cols |
| col 1 | col 2 |)>
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr>
<td colspan="2">spans two cols </td>
</tr>
<tr>
<td> col 1 </td>
<td> col 2 </td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(row span)
key(desc)operator(:) string(Use a / forward slash to indicate a row span.)
key(in)operator(:) string<delimiter(|-)content(
|/3. spans 3 rows | row a |
| row b |
| row c |)>
key(html)operator(:) string<delimiter(|-)content(
<table>
<tr>
<td rowspan="3">spans 3 rows </td>
<td> row a </td>
</tr>
<tr>
<td> row b </td>
</tr>
<tr>
<td> row c </td>
</tr>
</table>)>
head<head(---)>
key(name)operator(:) string(whitespace required)
key(desc)operator(:) string(Links, images and phrase modifiers normally require surrounding whitespace.)
key(in)operator(:) string(this*won't*work)
key(html)operator(:) string(<p>this*won’t*work</p>)
head<head(---)>
key(name)operator(:) string(modifier without whitespace)
key(desc)operator(:) string(To use these without whitespace, surround the modifier with [] square brackets.)
key(in)operator(:) string(this[*will*]work)
key(html)operator(:) string(<p>this<strong>will</strong>work</p>)
head<head(---)>
key(name)operator(:) string(modifier without whitespace 2)
key(desc)operator(:) string(This is particularly useful in conjunction with superscript and subscript.)
key(in)operator(:) string(1[^st^], 2[^nd^], 3[^rd^].)
key(html)operator(:) string(<p>1<sup>st</sup>, 2<sup>nd</sup>, 3<sup>rd</sup>.</p>)
head<head(---)>
key(name)operator(:) string(modifier without whitespace 3)
key(in)operator(:) string(2 log[~n~])
key(html)operator(:) string(<p>2 log<sub>n</sub></p>)
head<head(---)>
key(name)operator(:) string(modifier without whitespace 4)
key(desc)operator(:) string(It can also be used to include links and images without surrounding whitespace.)
key(in)operator(:) string<delimiter(|-)content(
A close[!/img.gif!]image.
A tight["text":http://thresholdstate.com/]link.
A ["footnoted link":http://thresholdstate.com/][1].)>
key(html)operator(:) string<delimiter(|-)content(
<p>A close<img src="/img.gif" alt="" />image.<br />
A tight<a href="http://thresholdstate.com/">text</a>link.<br />
A <a href="http://thresholdstate.com/">footnoted link</a><sup class="footnote"><a href="#fn1">1</a></sup>.</p>)>
comment(# html: |-)
comment(# <p>A close<img src="/img.gif" alt="" />image.<br />)
comment(# A tight<a href="http://thresholdstate.com/">text</a>link.<br />)
comment(# A <a href="http://thresholdstate.com/">footnoted link</a><sup class="footnote"><a href="#fn1216642796463b1223ae29d">1</a></sup>.</p>)
|