Debian Codegraph @

examples/prism-rest.html

raw symbols SCIP
1 <h2>Titles</h2>
2 <pre><code>===============
3 Section Title
4 ===============
5
6 ---------------
7 Section Title
8 ---------------
9
10 Section Title
11 =============
12
13 Section Title
14 -------------
15
16 Section Title
17 `````````````
18
19 Section Title
20 '''''''''''''
21
22 Section Title
23 .............
24
25 Section Title
26 ~~~~~~~~~~~~~
27
28 Section Title
29 *************
30
31 Section Title
32 +++++++++++++
33
34 Section Title
35 ^^^^^^^^^^^^^</code></pre>
36
37 <h2>Lists</h2>
38 <pre><code>- This is the first bullet list item.
39 - This is the first paragraph in the second item in the list.
40
41 This is the second paragraph in the second item in the list.
42
43 - This is a sublist. The bullet lines up with the left edge of
44 the text blocks above.
45
46 - This is the third item of the main list.
47
48 This paragraph is not part of the list.
49
50 1. Item 1 initial text.
51
52 a) Item 1a.
53 b) Item 1b.
54
55 2. a) Item 2a.
56 b) Item 2b.</code></pre>
57
58 <h2>Field lists</h2>
59 <pre><code>:Date: 2001-08-16
60 :Version: 1
61 :Authors: - Me
62 - Myself
63 - I
64 :Indentation: Since the field marker may be quite long, the second
65 and subsequent lines of the field body do not have to line up
66 with the first line, but they must be indented relative to the
67 field name marker, and they must line up with each other.
68 :Parameter i: integer</code></pre>
69
70 <h2>Option lists</h2>
71 <pre><code>-a Output all.
72 -b Output both (this description is
73 quite long).
74 -c arg Output just arg.
75 --long Output all day long.
76
77 -p This option has two paragraphs in the description.
78 This is the first.
79
80 This is the second. Blank lines may be omitted between
81 options (as above) or left in (as here and below).
82
83 --very-long-option A VMS-style option. Note the adjustment for
84 the required two spaces.
85
86 --an-even-longer-option
87 The description can also start on the next line.
88
89 -2, --two This option has two variants.
90
91 -f FILE, --file=FILE These two options are synonyms; both have
92 arguments.
93
94 /V A VMS/DOS-style option.</code></pre>
95
96 <h2>Literal blocks</h2>
97 <pre><code>::
98
99 for a in [5,4,3,2,1]: # this is program code, shown as-is
100 print a
101 print "it's..."
102 # a literal block continues until the indentation ends
103
104 John Doe wrote::
105
106 >> *Great* idea!
107 >
108 > Why didn't I think of that?
109
110 You just did! ;-)</code></pre>
111
112 <h2>Line blocks</h2>
113 <pre><code>| Lend us a couple of bob till Thursday.
114 | I'm absolutely skint.
115 | But I'm expecting a postal order and I can pay you back
116 as soon as it comes.
117 | Love, Ewan.
118
119 Take it away, Eric the Orchestra Leader!
120
121 | A one, two, a one two three four
122 |
123 | Half a bee, philosophically,
124 | must, *ipso facto*, half not be.
125 | But half the bee has got to be,
126 | *vis a vis* its entity. D'you see?
127 |
128 | But can a bee be said to be
129 | or not to be an entire bee,
130 | when half the bee is not a bee,
131 | due to some ancient injury?
132 |
133 | Singing...</code></pre>
134
135 <h2>Grid tables and simple tables</h2>
136 <pre><code>+------------------------+------------+----------+----------+
137 | Header row, column 1 | Header 2 | Header 3 | Header 4 |
138 | (header rows optional) | | | |
139 +========================+============+==========+==========+
140 | body row 1, column 1 | column 2 | column 3 | column 4 |
141 +------------------------+------------+----------+----------+
142 | body row 2 | Cells may span columns. |
143 +------------------------+------------+---------------------+
144 | body row 3 | Cells may | - Table cells |
145 +------------------------+ span rows. | - contain |
146 | body row 4 | | - body elements. |
147 +------------------------+------------+---------------------+
148
149 +--------------+----------+-----------+-----------+
150 | row 1, col 1 | column 2 | column 3 | column 4 |
151 +--------------+----------+-----------+-----------+
152 | row 2 | |
153 +--------------+----------+-----------+-----------+
154 | row 3 | | | |
155 +--------------+----------+-----------+-----------+
156
157 ===== ===== =======
158 A B A and B
159 ===== ===== =======
160 False False False
161 True False False
162 False True False
163 True True True
164 ===== ===== =======
165
166 ===== ===== ======
167 Inputs Output
168 ------------ ------
169 A B A or B
170 ===== ===== ======
171 False False False
172 True False True
173 False True True
174 True True True
175 ===== ===== ======</code></pre>
176
177 <h2>Footnotes and links</h2>
178 <pre><code>.. [1] Body elements go here.
179
180 If [#note]_ is the first footnote reference, it will show up as
181 "[1]". We can refer to it again as [#note]_ and again see
182 "[1]". We can also refer to it as note_ (an ordinary internal
183 hyperlink reference).
184
185 .. [#note] This is the footnote labeled "note".
186
187 Here is a symbolic footnote reference: [*]_.
188
189 .. [*] This is the footnote.
190
191 [2]_ will be "2" (manually numbered),
192 [#]_ will be "3" (anonymous auto-numbered), and
193 [#label]_ will be "1" (labeled auto-numbered).
194
195 .. [2] This footnote is labeled manually, so its number is fixed.
196
197 .. [#label] This autonumber-labeled footnote will be labeled "1".
198 It is the first auto-numbered footnote and no other footnote
199 with label "1" exists. The order of the footnotes is used to
200 determine numbering, not the order of the footnote references.
201
202 .. [#] This footnote will be labeled "3". It is the second
203 auto-numbered footnote, but footnote label "2" is already used.
204
205 Here is a citation reference: [CIT2002]_.
206
207 .. [CIT2002] This is the citation. It's just like a footnote,
208 except the label is textual.
209
210 .. _hyperlink-name: link-block
211
212 .. __: anonymous-hyperlink-target-link-block
213
214 __ anonymous-hyperlink-target-link-block
215
216 Clicking on this internal hyperlink will take us to the target_
217 below.
218
219 .. _target:
220
221 The hyperlink target above points to this paragraph.</code></pre>
222
223 <h2>Directives</h2>
224 <pre><code>.. image:: mylogo.jpeg
225
226 .. figure:: larch.png
227
228 The larch.
229
230 .. note:: This is a paragraph
231
232 - Here is a bullet list.
233
234 .. figure:: picture.png
235 :scale: 50 %
236 :alt: map to buried treasure
237
238 This is the caption of the figure (a simple paragraph).
239
240 The legend consists of all elements after the caption. In this
241 case, the legend consists of this paragraph and the following
242 table:
243
244 +-----------------------+-----------------------+
245 | Symbol | Meaning |
246 +=======================+=======================+
247 | .. image:: tent.png | Campground |
248 +-----------------------+-----------------------+
249 | .. image:: waves.png | Lake |
250 +-----------------------+-----------------------+
251 | .. image:: peak.png | Mountain |
252 +-----------------------+-----------------------+</code></pre>
253
254 <h2>Substitutions</h2>
255 <pre><code>The |biohazard| symbol must be used on containers used to
256 dispose of medical waste.
257
258 .. |biohazard| image:: biohazard.png
259
260 |Michael| and |Jon| are our widget-wranglers.
261
262 .. |Michael| user:: mjones
263 .. |Jon| user:: jhl
264
265 West led the |H| 3, covered by dummy's |H| Q, East's |H| K,
266 and trumped in hand with the |S| 2.
267
268 .. |H| image:: /images/heart.png
269 :height: 11
270 :width: 11
271 .. |S| image:: /images/spade.png
272 :height: 11
273 :width: 11
274
275 * |Red light| means stop.
276 * |Green light| means go.
277 * |Yellow light| means go really fast.
278
279 .. |Red light| image:: red_light.png
280 .. |Green light| image:: green_light.png
281 .. |Yellow light| image:: yellow_light.png</code></pre>
282
283 <h2>Comments</h2>
284 <pre><code>.. This is a comment
285
286 ..
287 _so: is this!
288
289 ..
290 [and] this!
291
292 ..
293 this:: too!
294
295 ..
296 |even| this:: !</code></pre>
297
298 <h2>Inline markup</h2>
299 <pre><code>This is *emphasized text*.
300 This is **strong text**.
301 This is `interpreted text`.
302 :role:`interpreted text`
303 `interpreted text`:role:
304 This text is an example of ``inline literals``.
305 The regular expression ``[+-]?(\d+(\.\d*)?|\.\d+)`` matches
306 floating-point numbers (without exponents).
307
308 See the `Python home page &lt;http://www.python.org>`_ for info.
309
310 Oh yes, the _`Norwegian Blue`. What's, um, what's wrong with it?</code></pre>