60 lines
1.3 KiB
Markdown
60 lines
1.3 KiB
Markdown
|
```
|
|||
|
% pandoc -t opendocument
|
|||
|
1. a
|
|||
|
2. b
|
|||
|
1. alpha
|
|||
|
2. beta
|
|||
|
* gamma
|
|||
|
^D
|
|||
|
<text:list text:style-name="L1">
|
|||
|
<text:list-item>
|
|||
|
<text:p text:style-name="P1">a</text:p>
|
|||
|
</text:list-item>
|
|||
|
<text:list-item>
|
|||
|
<text:p text:style-name="P1">b</text:p>
|
|||
|
<text:list>
|
|||
|
<text:list-item>
|
|||
|
<text:p text:style-name="P1">alpha</text:p>
|
|||
|
</text:list-item>
|
|||
|
<text:list-item>
|
|||
|
<text:p text:style-name="P1">beta</text:p>
|
|||
|
</text:list-item>
|
|||
|
</text:list>
|
|||
|
<text:list text:style-name="L2">
|
|||
|
<text:list-item>
|
|||
|
<text:p text:style-name="P2">gamma</text:p>
|
|||
|
</text:list-item>
|
|||
|
</text:list>
|
|||
|
</text:list-item>
|
|||
|
</text:list>
|
|||
|
```
|
|||
|
|
|||
|
```
|
|||
|
% pandoc -t opendocument
|
|||
|
(@) text
|
|||
|
|
|||
|
some text
|
|||
|
|
|||
|
a) sub item 1
|
|||
|
b) sub item 2
|
|||
|
|
|||
|
more text -- this line is missing in the odt output
|
|||
|
^D
|
|||
|
<text:list text:style-name="L1">
|
|||
|
<text:list-item>
|
|||
|
<text:p text:style-name="P1">text</text:p>
|
|||
|
<text:p text:style-name="P1">some text</text:p>
|
|||
|
<text:list>
|
|||
|
<text:list-item>
|
|||
|
<text:p text:style-name="P1">sub item 1</text:p>
|
|||
|
</text:list-item>
|
|||
|
<text:list-item>
|
|||
|
<text:p text:style-name="P1">sub item 2</text:p>
|
|||
|
</text:list-item>
|
|||
|
</text:list>
|
|||
|
<text:p text:style-name="P1">more text – this line is missing in the
|
|||
|
odt output</text:p>
|
|||
|
</text:list-item>
|
|||
|
</text:list>
|
|||
|
```
|