summaryrefslogtreecommitdiff
path: root/test/scanners/yaml/basic.expected.raydebug
blob: 810b40063fd9fc1ac99749584b4a3fd8539fed10 (plain)
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
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
head<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<delimiter(|-)content(
  A single paragraph.
  
  Followed by another.)>
key(html)operator(:) string<delimiter(|-)content(
  <p>A single paragraph.</p>
  <p>Followed by another.</p>)>
head<head(---)>
key(name)operator(:) string(block containing block start)
key(in)operator(:) string<delimiter(|-)content(
  I saw a ship. It ate my elephant.)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I saw a ship. It ate my elephant.</p>)>
head<head(---)>
key(name)operator(:) string(extended block containing block start)
key(in)operator(:) string<delimiter(|-)content(
  p.. I saw a ship. It ate my elephant.
  
  When the elephant comes to take a p. you...)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I saw a ship. It ate my elephant.</p>
  <p>When the elephant comes to take a p. you&#8230;</p>)>
head<head(---)>
key(name)operator(:) string(blockquote containing block start)
key(in)operator(:) string<delimiter(|-)content(
  bq. I saw a ship. It ate my elephant.)>
key(html)operator(:) string<delimiter(|-)content(
  <blockquote>
  <p>I saw a ship. It ate my elephant.</p>
  </blockquote>)>
head<head(---)>
key(name)operator(:) string(extended blockquote containing block start)
key(in)operator(:) string<delimiter(|-)content(
  bq.. I saw a ship. It ate my elephant.

  When the elephant comes to take a p. you...)>
key(html)operator(:) string<delimiter(|-)content(
  <blockquote>
  <p>I saw a ship. It ate my elephant.</p>
  <p>When the elephant comes to take a p. you&#8230;</p>
  </blockquote>)>
head<head(---)> 
key(name)operator(:) string(notextile block containing block start)
key(in)operator(:) string<delimiter(|-)content(
  notextile. I saw a ship. It ate my elephant.)>
key(html)operator(:) string<delimiter(|-)content(
  I saw a ship. It ate my elephant.)>
key(valid_html)operator(:) string(false)
head<head(---)>
key(name)operator(:) string(extended notextile block containing block start)
key(in)operator(:) string<delimiter(|-)content(
  notextile.. I saw a ship. It ate my elephant.

  When the elephant comes to take a p. you...)>
key(html)operator(:) string<delimiter(|-)content(
  I saw a ship. It ate my elephant.
  
  When the elephant comes to take a p. you...)>
key(valid_html)operator(:) string(false)
head<head(---)> 
key(name)operator(:) string(pre block containing block start)
key(in)operator(:) string<delimiter(|-)content(
  pre. I saw a ship. It ate my elephant.)>
key(html)operator(:) string<delimiter(|-)content(
  <pre>I saw a ship. It ate my elephant.</pre>)>
head<head(---)>
key(name)operator(:) string(extended pre block containing block start)
key(in)operator(:) string<delimiter(|-)content(
  pre.. I saw a ship. It ate my elephant.

  When the elephant comes to take a p. you...)>
key(html)operator(:) string<delimiter(|-)content(
  <pre>I saw a ship. It ate my elephant.</pre>

  <pre>When the elephant comes to take a p. you&#8230;</pre>
  --- )>
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&#8217;s found in a <code>pre</code> or <code>code</code> block.)
key(in)operator(:) string<delimiter(|-)content(
  I am <b>very</b> serious.
  
  <pre>
    I am <b>very</b> serious.
  </pre>)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I am <b>very</b> serious.</p>
  <pre>
    I am &lt;b&gt;very&lt;/b&gt; serious.
  </pre>)>
head<head(---)> 
key(name)operator(:) string(line breaks)
key(desc)operator(:) string(Line breaks are converted to HTML breaks.)
key(in)operator(:) string<delimiter(|-)content(
  I spoke.
  And none replied.)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I spoke.<br />
  And none replied.</p>)>
key(html_no_breaks)operator(:) string<delimiter(|-)content(
  <p>I spoke.
  And none replied.</p>)>
key(lite_mode_html)operator(:) string<delimiter(|-)content(
  I spoke.<br />
  And none replied.)>
head<head(---)> 
key(name)operator(:) string(curly quotes)
key(desc)operator(:) string(Single- and double-quotes around words or phrases are converted to curly quotations, much easier on the eye.)
key(in)operator(:) string<delimiter(")content(\\"Observe!\\")delimiter(")>
key(html)operator(:) string(<p>&#8220;Observe!&#8221;</p>)
head<head(---)>
key(name)operator(:) string(quotes contained in multi-paragraph quotes)
key(in)operator(:) string<delimiter(|-)content(
  "I first learned about this thing called "Redcloth" several years ago.

  "It's wonderful.")>
key(html)operator(:) string<delimiter(|-)content(
  <p>&#8220;I first learned about this thing called &#8220;Redcloth&#8221; several years ago.</p>
  <p>&#8220;It&#8217;s wonderful.&#8221;</p>)>
head<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(<p>Observe&#8212;very nice!</p>)
key(latex)operator(:) string<delimiter(")content(Observe---very nice!\\n\\n)delimiter(")>
head<head(---)> 
key(name)operator(:) string(double hyphens with spaces)
key(desc)operator(:) string(Double hyphens are replaced with an em-dash and surrounding spaces are preserved.)
key(in)operator(:) string(Observe -- very nice!)
key(html)operator(:) string(<p>Observe &#8212; very nice!</p>)
key(latex)operator(:) string<delimiter(")content(Observe --- very nice!\\n\\n)delimiter(")>
head<head(---)> 
key(name)operator(:) string(parenthetical phrase set off with em dashes)
key(desc)operator(:) string(Sentences with two em dashes should not turn them into strikethroughs)
key(in)operator(:) string(An emdash indicates a parenthetical thought--like this one--which is set apart from the rest of a sentence.)
key(html)operator(:) string<delimiter(")content(<p>An emdash indicates a parenthetical thought&#8212;like this one&#8212;which is set apart from the rest of a sentence.</p>)delimiter(")>
key(latex)operator(:) string<delimiter(")content(An emdash indicates a parenthetical thought---like this one---which is set apart from the rest of a sentence.\\n\\n)delimiter(")>
head<head(---)>
key(name)operator(:) string(parenthetical phrase set off with em dashes surrounded by spaces)
key(desc)operator(:) string(Sentences with two em dashes should not turn them into strikethroughs)
key(in)operator(:) string(An emdash indicates a parenthetical thought -- like this one -- which is set apart from the rest of a sentence.)
key(html)operator(:) string<delimiter(")content(<p>An emdash indicates a parenthetical thought &#8212; like this one &#8212; which is set apart from the rest of a sentence.</p>)delimiter(")>
key(latex)operator(:) string<delimiter(")content(An emdash indicates a parenthetical thought --- like this one --- which is set apart from the rest of a sentence.\\n\\n)delimiter(")>
head<head(---)>
key(name)operator(:) string(single hyphens with spaces)
key(desc)operator(:) string(Single hyphens are replaced with en-dashes if they are surrounded by spaces.)
key(in)operator(:) string(Observe - tiny and brief.)
key(html)operator(:) string(<p>Observe &#8211; tiny and brief.</p>)
key(latex)operator(:) string<delimiter(")content(Observe--tiny and brief.\\n\\n)delimiter(")>
head<head(---)> 
key(name)operator(:) string(midword hyphens )
key(desc)operator(:) string(Single hyphens are left alone if not surrounded by spaces.)
key(in)operator(:) string(Observe the nicely-done hyphen.)
key(html)operator(:) string(<p>Observe the nicely-done hyphen.</p>)
head<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(<p>Observe&#8230;</p>)
key(lite_mode_html)operator(:) string(Observe&#8230;)
head<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(:) string<delimiter(")content(Observe: 2x3.)delimiter(")>
key(html)operator(:) string<delimiter(")content(<p>Observe: 2&#215;3.</p>)delimiter(")>
head<head(---)> 
key(name)operator(:) string(dimension sign with space after)
key(in)operator(:) string<delimiter(")content(The room is 2x3 inches big.)delimiter(")>
key(html)operator(:) string<delimiter(")content(<p>The room is 2&#215;3 inches big.</p>)delimiter(")>
head<head(---)> 
key(name)operator(:) string(dimension sign with spaces)
key(in)operator(:) string<delimiter(")content(Observe: 2 x 4.)delimiter(")>
key(html)operator(:) string<delimiter(")content(<p>Observe: 2 &#215; 4.</p>)delimiter(")>
head<head(---)> 
key(name)operator(:) string(dimension signs chained)
key(in)operator(:) string<delimiter(")content(Observe: 2x3x4.)delimiter(")>
key(html)operator(:) string<delimiter(")content(<p>Observe: 2&#215;3&#215;4.</p>)delimiter(")>
key(lite_mode_html)operator(:) string<delimiter(")content(Observe: 2&#215;3&#215;4.)delimiter(")>
head<head(---)> 
key(name)operator(:) string(dimension signs with double primes)
key(in)operator(:) string('My mouse: 2.5" x 4".')
key(html)operator(:) string('<p>My mouse: 2.5&#8243; &#215; 4&#8243;.</p>')
head<head(---)> 
key(name)operator(:) string(dimension signs with single primes)
key(in)operator(:) string<delimiter(")content(My office: 5' x 4.5'.)delimiter(")>
key(html)operator(:) string<delimiter(")content(<p>My office: 5&#8242; &#215; 4.5&#8242;.</p>)delimiter(")>
head<head(---)> 
key(name)operator(:) string(trademark and copyright)
key(desc)operator(:) string(Conversion of trademark and copyright symbols.)
key(in)operator(:) string(one(TM\), two(R\), three(C\).)
key(html)operator(:) string(<p>one&#8482;, two&#174;, three&#169;.</p>)
key(lite_mode_html)operator(:) string(one&#8482;, two&#174;, three&#169;.)
head<head(---)> 
key(name)operator(:) string(headers)
key(desc)operator(:) string(To make an entire paragraph into a Header, place “h<em>n</em>.” at its beginning, where <em>n</em> is a number from 1-6.)
key(in)operator(:) string(h3. Header 3)
key(html)operator(:) string(<h3>Header 3</h3>)
head<head(---)> 
key(name)operator(:) string(blockquote)
key(desc)operator(:) string(To make an entire paragraph into a block quotation, place “bq.” before it.)
key(in)operator(:) string<delimiter(|-)content(
  Any old text
  
  bq. A block quotation.
  
  Any old text)>
key(html)operator(:) string<delimiter(|-)content(
  <p>Any old text</p>
  <blockquote>
  <p>A block quotation.</p>
  </blockquote>
  <p>Any old text</p>)>
head<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(<p>This is covered elsewhere<sup class="footnote"><a href="#fn1">1</a></sup>.</p>)
head<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&#8217;s number, followed by a dot and a space.)
key(in)operator(:) string(fn1. Down here, in fact.)
key(html)operator(:) string(<p class="footnote" id="fn1"><sup>1</sup> Down here, in fact.</p>)
head<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 <em>italics</em>.)
key(in)operator(:) string(I _believe_ every word.)
key(html)operator(:) string(<p>I <em>believe</em> every word.</p>)
key(lite_mode_html)operator(:) string<delimiter(")content(I <em>believe</em> every word.)delimiter(")>
head<head(---)> 
key(name)operator(:) string(strong)
key(desc)operator(:) string(Strength can be give to text by surrounding with asterisks.  In HTML, this strength appears as <strong>bold</strong>.)
key(in)operator(:) string(And then? She *fell*!)
key(html)operator(:) string(<p>And then? She <strong>fell</strong>!</p>)
key(lite_mode_html)operator(:) string<delimiter(")content(And then? She <strong>fell</strong>!)delimiter(")>
head<head(---)>
key(name)operator(:) string(strong phrase beginning with a number)
key(desc)operator(:) string(A strong phrase at the beginning of a line that begins with a number should not be recognized as a ul with a start value (no such thing\))
key(in)operator(:) string<delimiter(")content(*10 times as many*)delimiter(")>
key(html)operator(:) string<delimiter(")content(<p><strong>10 times as many</strong></p>)delimiter(")>
head<head(---)> 
key(name)operator(:) string(force bold italics)
key(desc)operator(:) string(Both italics and bold can be forced by doubling the underscores or asterisks.)
key(in)operator(:) string<delimiter(|-)content(
  I __know__.
  I **really** __know__.)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I <i>know</i>.<br />
  I <b>really</b> <i>know</i>.</p>)>
head<head(---)> 
key(name)operator(:) string(citation)
key(desc)operator(:) string(Use double question marks to indicate <em>citation</em>.  The title of a book, for instance.)
key(in)operator(:) string(??Cat's Cradle?? by Vonnegut)
key(html)operator(:) string(<p><cite>Cat&#8217;s Cradle</cite> by Vonnegut</p>)
head<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(<p>Convert with <code>r.to_html</code></p>)
key(lite_mode_html)operator(:) string(Convert with <code>r.to_html</code>)
head<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(<p>Please email why@domain.com or jason@domain.com.</p>)
head<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(<p>I&#8217;m <del>sure</del> not sure.</p>)
head<head(---)> 
key(name)operator(:) string(ins)
key(desc)operator(:) string(Pluses around a passage indicate its insertion.)
key(in)operator(:) string(You are a +pleasant+ child.)
key(html)operator(:) string(<p>You are a <ins>pleasant</ins> child.</p>)
head<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(<p>a <sup>2</sup> + b <sup>2</sup> = c <sup>2</sup></p>)
head<head(---)>
key(name)operator(:) string(parenthetical superscript phrase)
key(in)operator(:) string('^(image courtesy NASA\)^')
key(html)operator(:) string('<p><sup>(image courtesy <span class="caps">NASA</span>\)</sup></p>')
head<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(<p>log <sub>2</sub> x</p>)
head<head(---)>
key(name)operator(:) string(parenthetical subscript phrase)
key(in)operator(:) string('~(image courtesy NASA\)~')
key(html)operator(:) string('<p><sub>(image courtesy <span class="caps">NASA</span>\)</sub></p>')
head<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('<p>f(x, n\) = log<sub>4</sub>x<sup>n</sup></p>')
head<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(<p>I&#8217;m <span>unaware</span> of most soft drinks.</p>)
head<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<delimiter(|-)content(
  I'm %{color:red}unaware%
  of most soft drinks.)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I&#8217;m <span style="color:red;">unaware</span><br />
  of most soft drinks.</p>)>
key(lite_mode_html)operator(:) string<delimiter(|-)content(
  I&#8217;m <span style="color:red;">unaware</span><br />
  of most soft drinks.)>
head<head(---)>
key(name)operator(:) string(percent sign)
key(desc)operator(:) string(though percent signs indicate a span, they shouldn't be overly greedy.)
key(in)operator(:) string<delimiter(|-)content(
  http://blah.com/one%20two%20three
  (min\)5%-95%(max\))>
key(html)operator(:) string<delimiter(|-)content(
  <p>http://blah.com/one%20two%20three<br />
  (min\)5%-95%(max\)</p>)>
head<head(---)> 
key(name)operator(:) string(css class)
key(desc)operator(:) string(A block can be tagged with a CSS class by circling the class in parentheses and placing it just before the period which marks the block.)
key(in)operator(:) string(p(example1\). An example)
key(html)operator(:) string(<p class="example1">An example</p>)
head<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(<p id="big-red">Red here</p>)
head<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(<p class="example1" id="big-red2">Red here</p>)
head<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(<p style="color:blue;margin:30px;">Spacey blue</p>)
head<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(<p lang="fr">rouge</p>)
head<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<delimiter(|-)content(
  I seriously *{color:red}blushed*
  when I _(big\)sprouted_ that
  corn stalk from my
  %[es]cabeza%.)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I seriously <strong style="color:red;">blushed</strong><br />
  when I <em class="big">sprouted</em> that<br />
  corn stalk from my<br />
  <span lang="es">cabeza</span>.</p>)>
head<head(---)> 
key(name)operator(:) string(inline attributes preceded by text are treated as literal)
key(desc)operator(:) string(modifiers must come first, without anything before them)
key(in)operator(:) string<delimiter(|-)content(
  I *seriously {color:red}blushed*
  when I _first (big\)sprouted_ that
  corn stalk from my
  %grande [es]cabeza%.)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I <strong>seriously {color:red}blushed</strong><br />
  when I <em>first (big\)sprouted</em> that<br />
  corn stalk from my<br />
  <span>grande [es]cabeza</span>.</p>)>
head<head(---)> 
key(name)operator(:) string(align justified)
key(desc)operator(:) string(Text inside blocks can be aligned in four basic ways.)
key(in)operator(:) string(p<>. justified)
key(html)operator(:) string(<p style="text-align:justify;">justified</p>)
head<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(<p style="padding-right:3em;">right ident 3em</p>)
head<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(<h2 style="padding-left:1em;padding-right:1em;text-align:right;">Bingo.</h2>)
head<head(---)> 
key(name)operator(:) string(many modifiers combined)
key(desc)operator(:) string(And, furthermore, coupled with language settings and CSS styles.)
key(in)operator(:) string(h3(\)>[no]{color:red}. Bingo)
key(html)operator(:) string(<h3 style="padding-left:1em;padding-right:1em;text-align:right;color:red;" lang="no">Bingo</h3>)
head<head(---)> 
key(name)operator(:) string(code blocks)
key(desc)operator(:) string(For example, long code blocks belong between <code>pre</code> and <code>code</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<delimiter(|)content(
  <pre>
  <code>
    a.gsub!( /</, '' \)
  </code>
  </pre>)>
key(html)operator(:) string<delimiter(|-)content(
  <pre>
  <code>
    a.gsub!( /&lt;/, '' \)
  </code>
  </pre>)>
head<head(---)> 
key(name)operator(:) string(div tags)
key(desc)operator(:) string(You may also choose to surround sections with <code>div</code> tags to separate your document into sections. <a href="http://www.instiki.org/">Instiki</a> uses this technique to float a sidebar to the right.)
key(in)operator(:) string<delimiter(|)content(
  <div style="float:right;">
  
  h3. Sidebar
  
  "Hobix":http://hobix.com/
  "Ruby":http://ruby-lang.org/
  
  </div>
  
  The main text of the page goes here and will stay to the left of the sidebar.)>
key(html)operator(:) string<delimiter(|-)content(
  <div style="float:right;">
  <h3>Sidebar</h3>
  <p><a href="http://hobix.com/">Hobix</a><br />
  <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>)>
head<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 &#8221;#&#8221;.)
key(in)operator(:) string<delimiter(|-)content(
  # A first item
  # A second item
  # A third)>
key(html)operator(:) string<delimiter(|-)content(
  <ol>
  	<li>A first item</li>
  	<li>A second item</li>
  	<li>A third</li>
  </ol>)>
head<head(---)> 
key(name)operator(:) string(nested numbered lists)
key(desc)operator(:) string(These lists may be nested by increasing the number of pound symbols preceding child entries.)
key(in)operator(:) string<delimiter(|-)content(
  # Fuel could be:
  ## Coal
  ## Gasoline
  ## Electricity
  # Humans need only:
  ## Water
  ## Protein)>
key(html)operator(:) string<delimiter(|-)content(
  <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>)>
head<head(---)> 
key(name)operator(:) string(bulleted list)
key(desc)operator(:) string(Bulleted lists use an asterisk in place of the pound.)
key(in)operator(:) string<delimiter(|-)content(
  * A first item
  * A second item
  * A third)>
key(html)operator(:) string<delimiter(|-)content(
  <ul>
  	<li>A first item</li>
  	<li>A second item</li>
  	<li>A third</li>
  </ul>)>
head<head(---)> 
key(name)operator(:) string(nested bulleted lists)
key(desc)operator(:) string(These lists may be nested in like manner.)
key(in)operator(:) string<delimiter(|-)content(
  * Fuel could be:
  ** Coal
  ** Gasoline
  ** Electricity
  * Humans need only:
  ** Water
  ** Protein)>
key(html)operator(:) string<delimiter(|-)content(
  <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>)>
head<head(---)> 
key(name)operator(:) string(links)
key(desc)operator(:) string(Basic links are comprised of a phrase which is linked to a <acronym title="Universal Resource Locator">URL</acronym>.  Place the descriptive phrase in quotation marks.  Follow it immediately by a colon and the URL.)
key(in)operator(:) string(I searched "Google":http://google.com.)
key(html)operator(:) string(<p>I searched <a href="http://google.com">Google</a>.</p>)
key(lite_mode_html)operator(:) string(I searched <a href="http://google.com">Google</a>.)
head<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<delimiter(|-)content(
  I am crazy about "Hobix":hobix
  and "it's":hobix "all":hobix I ever
  "link to":hobix!
  
  [hobix]http://hobix.com)>
key(html)operator(:) string<delimiter(|-)content(
  <p>I am crazy about <a href="http://hobix.com">Hobix</a><br />
  and <a href="http://hobix.com">it&#8217;s</a> <a href="http://hobix.com">all</a> I ever<br />
  <a href="http://hobix.com">link to</a>!</p>)>
head<head(---)> 
key(name)operator(:) string(image)
key(desc)operator(:) string(You can embed an image in your Textile document by surrounding its URL with exclamation marks.)
key(in)operator(:) string<delimiter(")content(!http://hobix.com/sample.jpg!)delimiter(")>
key(html)operator(:) string(<p><img src="http://hobix.com/sample.jpg" alt="" /></p>)
key(lite_mode_html)operator(:) string(<img src="http://hobix.com/sample.jpg" alt="" />)
head<head(---)> 
key(name)operator(:) string(image title)
key(desc)operator(:) string(A title for the image can also be provided in parens, just before the closing exclamation.)
key(in)operator(:) string<delimiter(")content(!openwindow1.gif(Bunny.\)!)delimiter(")>
key(html)operator(:) string(<p><img src="openwindow1.gif" title="Bunny." alt="Bunny." /></p>)
head<head(---)> 
key(name)operator(:) string(image links)
key(desc)operator(:) string(Links can be attached to images with a colon.)
key(in)operator(:) string<delimiter(")content(!openwindow1.gif!:http://hobix.com/)delimiter(")>
key(html)operator(:) string(<p><a href="http://hobix.com/"><img src="openwindow1.gif" alt="" /></a></p>)
head<head(---)> 
key(name)operator(:) string(image alignments)
key(desc)operator(:) string(Alignments can be applied as well to images.)
key(in)operator(:) string<delimiter(|-)content(
  !>obake.gif!
  
  And others sat all round the small
  machine and paid it to sing to them.)>
key(html)operator(:) string<delimiter(|-)content(
  <p style="float:right;"><img src="obake.gif" alt="" /></p>
  <p>And others sat all round the small<br />
  machine and paid it to sing to them.</p>)>
head<head(---)> 
key(name)operator(:) string(acronym definitions)
key(desc)operator(:) string(Definitions for acronyms can be provided by following an acronym with its definition in parens.)
key(in)operator(:) string(We use CSS(Cascading Style Sheets\).)
key(html)operator(:) string(<p>We use <acronym title="Cascading Style Sheets"><span class="caps">CSS</span></acronym>.</p>)
key(lite_mode_html)operator(:) string(We use <acronym title="Cascading Style Sheets"><span class="caps">CSS</span></acronym>.)
key(no_span_caps_html)operator(:) string(<p>We use <acronym title="Cascading Style Sheets">CSS</acronym>.</p>)
head<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<delimiter(|-)content(
  | name | age | sex |
  | joan | 24 | f |
  | archie | 29 | m |
  | bella | 45 | f |)>
key(html)operator(:) string<delimiter(|-)content(
  <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>)>
head<head(---)> 
key(name)operator(:) string(table headers)
key(desc)operator(:) string(Specify header cells by marking them with an underscore and period.)
key(in)operator(:) string<delimiter(|-)content(
  |_. name |_. age |_. sex |
  | joan | 24 | f |
  | archie | 29 | m |
  | bella | 45 | f |)>
key(html)operator(:) string<delimiter(|-)content(
  <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>)>
head<head(---)> 
key(name)operator(:) string(table cell attributes)
key(desc)operator(:) string(The period used above marks the end of a cell’s attributes.  Other attributes can be applied as well.)
key(in)operator(:) string<delimiter(|-)content(
  |_. attribute list |
  |<. align left |
  |>. align right|
  |=. center |
  |<>. justify |
  |^. valign top |
  |~. bottom |)>
key(html)operator(:) string<delimiter(|-)content(
  <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>)>
head<head(---)> 
key(name)operator(:) string(table colspan)
key(desc)operator(:) string(You can also specify colspans with a backslash, followed by the cell width.)
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(table rowspan)
key(desc)operator(:) string(Rowspan is specified by a forward slash, followed by the row height.)
key(in)operator(:) string<delimiter(|-)content(
  |/3. spans 3 rows | a |
  | b |
  | c |)>
key(html)operator(:) string<delimiter(|-)content(
  <table>
  	<tr>
  		<td rowspan="3">spans 3 rows </td>
  		<td> a </td>
  	</tr>
  	<tr>
  		<td> b </td>
  	</tr>
  	<tr>
  		<td> c </td>
  	</tr>
  </table>)>
head<head(---)> 
key(name)operator(:) string(block attributes applied to table cells)
key(desc)operator(:) string(All block attributes can be applied to table cells as well.)
key(in)operator(:) string<delimiter(")content(|{background:#ddd}. Grey cell|)delimiter(")>
key(html)operator(:) string<delimiter(|-)content(
  <table>
  	<tr>
  		<td style="background:#ddd;">Grey cell</td>
  	</tr>
  </table>)>
head<head(---)> 
key(name)operator(:) string(black attributes applied to a table)
key(desc)operator(:) string(Table-wide attributes can be applied before the first row of the table.  On its own line, followed by a period.)
key(in)operator(:) string<delimiter(|-)content(
  table{border:1px solid black}.
  |This|is|a|row|
  |This|is|a|row|)>
key(html)operator(:) string<delimiter(|-)content(
  <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>)>
head<head(---)> 
key(name)operator(:) string(black attributes applied to a table row)
key(desc)operator(:) string(Attributes can be applied to a single row by supplying the attribute before the row starts, using a <code>table</code> modifier and following it by a period.)
key(in)operator(:) string<delimiter(|-)content(
  |This|is|a|row|
  {background:#ddd}. |This|is|grey|row|)>
key(html)operator(:) string<delimiter(|-)content(
  <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>)>
head<head(---)>
key(name)operator(:) string(extended block followed by pre block)
key(in)operator(:) string<delimiter(|-)content(
  div.. Just a test.
  
  Second div.
  
  pre. A pre block ends it.)>
key(html)operator(:) string<delimiter(|-)content(
  <div>Just a test.</div>
  <div>Second div.</div>
  <pre>A pre block ends it.</pre>)>
head<head(---)>
key(name)operator(:) string(extended block followed by blockquote)
key(in)operator(:) string<delimiter(|-)content(
  div.. Just a test.

  Second div.

  bq. A blockquote ends it.)>
key(html)operator(:) string<delimiter(|-)content(
  <div>Just a test.</div>
  <div>Second div.</div>
  <blockquote>
  <p>A blockquote ends it.</p>
  </blockquote>)>
head<head(---)>
key(name)operator(:) string(extended block followed by block code)
key(in)operator(:) string<delimiter(|-)content(
  div.. Just a test.

  Second div.

  bc. A blockcode ends it.)>
key(html)operator(:) string<delimiter(|-)content(
  <div>Just a test.</div>
  <div>Second div.</div>
  <pre><code>A blockcode ends it.</code></pre>)>
head<head(---)>
key(name)operator(:) string(extended block followed by notextile block)
key(in)operator(:) string<delimiter(|-)content(
  div.. Just a test.

  Second div.

  notextile. A notextile block ends it.)>
key(html)operator(:) string<delimiter(|-)content(
  <div>Just a test.</div>
  <div>Second div.</div>
  A notextile block ends it.)>
key(valid_html)operator(:) string(false)
head<head(---)>
key(name)operator(:) string(simple parentheses)
key(in)operator(:) string<delimiter(|-)content(
  before (in parens\) after)>
key(html)operator(:) string<delimiter(|-)content(
  <p>before (in parens\) after</p>)>
head<head(---)>
key(name)operator(:) string(parentheses in underscores)
key(in)operator(:) string<delimiter(|-)content(
  before _(in parens\)_ after)>
key(html)operator(:) string<delimiter(|-)content(
  <p>before <em>(in parens\)</em> after</p>)>
head<head(---)>
key(name)operator(:) string(parentheses in asterisks)
key(in)operator(:) string<delimiter(|-)content(
  before *(in parens\)* after)>
key(html)operator(:) string<delimiter(|-)content(
  <p>before <strong>(in parens\)</strong> after</p>)>
head<head(---)>
key(name)operator(:) string(parentheses in underscores in quotes)
key(in)operator(:) string<delimiter(|-)content(
  "before _(in parens\)_ after")>
key(html)operator(:) string<delimiter(|-)content(
  <p>&#8220;before <em>(in parens\)</em> after&#8221;</p>)>
head<head(---)>
key(name)operator(:) string(underscores in parentheses)
key(in)operator(:) string<delimiter(|-)content(
   one _two three_ (four _five six_\) seven)>
key(html)operator(:) string<delimiter(|-)content(
  <p>one <em>two three</em> (four <em>five six</em>\) seven</p>)>
head<head(---)>
key(name)operator(:) string(underscores in parentheses in quotes)
key(in)operator(:) string<delimiter(|-)content(
   "one _two three_ (four _five six_\) seven")>
key(html)operator(:) string<delimiter(|-)content(
  <p>&#8220;one <em>two three</em> (four <em>five six</em>\) seven&#8221;</p>)>
head<head(---)>
key(name)operator(:) string(underscores in parentheses 2)
key(in)operator(:) string<delimiter(|-)content(
   one (two _three four_\) five)>
key(html)operator(:) string<delimiter(|-)content(
  <p>one (two <em>three four</em>\) five</p>)>
head<head(---)>
key(name)operator(:) string(underscores in parentheses in quotes 2)
key(in)operator(:) string<delimiter(|-)content(
   "one (two _three four_\) five")>
key(html)operator(:) string<delimiter(|-)content(
  <p>&#8220;one (two <em>three four</em>\) five&#8221;</p>)>
head<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(<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(phrase modifiers in parentheses)
key(desc)operator(:) string(Inline modifiers are expected to work in parentheses as well.)
key(in)operator(:) string<delimiter(|-)content(
  __Amanita__s are mushrooms.
  Lungworts (__Lobaria__\) are lichens.
  Blah blah (normal text **bold**\) blah.)>
key(html)operator(:) string<delimiter(|-)content(
  <p>__Amanita__s are mushrooms.<br />
  Lungworts (<i>Lobaria</i>\) are lichens.<br />
  Blah blah (normal text <b>bold</b>\) blah.</p>)>
head<head(---)>
key(name)operator(:) string(square brackets are preserved)
key(in)operator(:) string<delimiter(|-)content(
  citation ["(Berk.\) Hilton"], see
  [Papers "blah blah."])>
key(html)operator(:) string<delimiter(|-)content(
  <p>citation [&#8220;(Berk.\) Hilton&#8221;], see<br />
  [Papers &#8220;blah blah.&#8221;]</p>)>