Debian Codegraph @

examples/prism-textile.html

raw symbols SCIP
1 <h2>HTML</h2>
2 <pre><code>I am &lt;b>very&lt;/b> serious.
3
4 &lt;div style="background:#fff">Foo bar&lt;/div></code></pre>
5
6 <h2>Blocks</h2>
7 <pre><code>h1. Header 1
8
9 h2. Header 2
10
11 h3. Header 3 written on
12 multiple lines
13
14 bq. A block quotation
15 on multiple lines.</code></pre>
16
17 <h2>Footnotes</h2>
18 <pre><code>This is covered elsewhere[1].
19
20 fn1. Down here, in fact.</code></pre>
21
22 <h2>Structural emphasis</h2>
23 <pre><code>I _believe_ every word.
24 And then? She *fell*!
25
26 I __know__.
27 I **really** __know__.
28
29 ??Cat's Cradle?? by Vonnegut
30
31 Convert with @r.to_html@
32
33 I'm -sure- not sure.
34
35 You are a +pleasant+ child.
36
37 a ^2^ + b ^2^ = c ^2^
38 log ~2~ x</code></pre>
39
40 <h2>Block attributes</h2>
41 <pre><code>p(example1). An example
42
43 p(#big-red). Red here
44
45 p(example1#big-red2). Red here
46
47 p{color:blue;margin:30px}. Spacey blue
48
49 p[fr]. rouge</code></pre>
50
51 <h2>Phrase attributes</h2>
52 <pre><code>I seriously *{color:red}blushed*
53 when I _(big)sprouted_ that
54 corn stalk from my
55 %[es]cabeza%.</code></pre>
56
57 <h2>Phrase alignments and indentation</h2>
58 <pre><code>p&lt;. align left
59
60 p>. align right
61
62 p=. centered
63
64 p&lt;>. justified
65
66 p(. left ident 1em
67
68 p((. left ident 2em
69
70 p))). right ident 3em</code></pre>
71
72 <h2>Attributes and alignments combined</h2>
73 <pre><code>h2()>. Bingo.
74
75 h3()>[no]{color:red}. Bingo</code></pre>
76
77 <h2>Lists</h2>
78 <pre><code># First item
79 # Second item
80 # Third
81
82 # Fuel could be:
83 ## Coal
84 ## Gasoline
85 ## Electricity
86 # Humans need only:
87 ## Water
88 ## Protein
89
90 * First item
91 * Second item
92 * Third
93
94 * Fuel could be:
95 ** Coal
96 ** Gasoline
97 ** Electricity
98 * Humans need only:
99 ** Water
100 ** Protein
101
102 #(foo) List can have attributes too
103 #{background: red} Red item</code></pre>
104
105 <h2>Links and images</h2>
106 <pre><code>I searched "Google":http://google.com.
107
108 I am crazy about "Hobix":hobix
109 and "it's":hobix "all":hobix I ever
110 "link to":hobix!
111
112 [hobix]http://hobix.com
113
114 And "(some-link)[en]links":# can have attributes too!
115
116 !http://redcloth.org/hobix.com/textile/sample.jpg!
117 !openwindow1.gif(Bunny.)!
118 !openwindow1.gif!:http://hobix.com/
119
120 !>obake.gif!
121
122 And others sat all round the small
123 machine and paid it to sing to them.</code></pre>
124
125 <h2>Tables</h2>
126 <pre><code>| name | age | sex |
127 | joan | 24 | f |
128 | archie | 29 | m |
129 | bella | 45 | f |
130
131 |_. name |_. age |_. sex |
132 | joan | 24 | f |
133 | archie | 29 | m |
134 | bella | 45 | f |
135
136 |_. attribute list |
137 |&lt;. align left |
138 |>. align right|
139 |=. center |
140 |&lt;>. justify |
141 |^. valign top |
142 |~. bottom |
143
144 |\2. spans two cols |
145 | col 1 | col 2 |
146
147 |/3. spans 3 rows | a |
148 | b |
149 | c |
150
151 |{background:#ddd}. Grey cell|
152
153 table{border:1px solid black}.
154 |This|is|a|row|
155 |This|is|a|row|
156
157 |This|is|a|row|
158 {background:#ddd}. |This|is|grey|row|</code></pre>