blob: b2a2bd6e9a8beb88e730b47a368d957636624867 (
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
|
```
% pandoc -f org -t native
#+begin_example -i
This should retain the four leading spaces
#+end_example
^D
[ CodeBlock
( "" , [ "example" ] , [] )
" This should retain the four leading spaces\n"
]
```
```
% pandoc -f org -t html
- depth 1
#+name: bob
#+begin_example -i
Vertical alignment is four spaces beyond the appearance of the word "depth".
#+end_example
- depth 2
#+begin_example
Vertically aligned with the second appearance of the word "depth".
#+end_example
#+begin_example -i
Vertical alignment is four spaces beyond the second
appearance of the word "depth".
The "begin" portion is a component of
this deeper list element, so that guarantees
that the entire block must be a component of the
inner list element.
#+end_example
Still inside the inner list element
#+name: carrie
#+begin_example
This belongs to the outer list element, and is aligned accordingly, since the NAME attribute is not indented deeply enough. It is not enough for the BEGIN alone to be aligned deeply if the block is meant to have a NAME.
#+end_example
Still in the shallower list element since the preceding example
block forced the deeper list element to terminate.
Outside all lists.
^D
<ul>
<li><p>depth 1</p>
<pre id="bob" class="example"><code> Vertical alignment is four spaces beyond the appearance of the word "depth".
</code></pre>
<ul>
<li><p>depth 2</p>
<pre class="example"><code>Vertically aligned with the second appearance of the word "depth".
</code></pre>
<pre class="example"><code> Vertical alignment is four spaces beyond the second
appearance of the word "depth".
The "begin" portion is a component of
this deeper list element, so that guarantees
that the entire block must be a component of the
inner list element.
</code></pre>
<p>Still inside the inner list element</p></li>
</ul>
<pre id="carrie" class="example"><code>This belongs to the outer list element, and is aligned accordingly, since the NAME attribute is not indented deeply enough. It is not enough for the BEGIN alone to be aligned deeply if the block is meant to have a NAME.
</code></pre>
<p>Still in the shallower list element since the preceding example block
forced the deeper list element to terminate.</p></li>
</ul>
<p>Outside all lists.</p>
```
|