aboutsummaryrefslogtreecommitdiff
path: root/test/command/168.md
blob: 1e0f20f9bec1ef8e53def64efa5d43cd745aae1a (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
```
% pandoc -t native
:::::::::: warning ::::::::::::
This is the warning!

1. list
2. another

::: {#myid .class key=val}
nested div
:::
:::::::::::::::::::::::::::::::
^D
[ Div
    ( "" , [ "warning" ] , [] )
    [ Para [ Str "This is the warning!" ]
    , OrderedList
        ( 1 , Decimal , Period )
        [ [ Plain [ Str "list" ] ] , [ Plain [ Str "another" ] ] ]
    , Div
        ( "myid" , [ "class" ] , [ ( "key" , "val" ) ] )
        [ Para [ Str "nested div" ] ]
    ]
]
```

```
% pandoc -t native
foo
:::
bar
^D
[ Para
    [ Str "foo"
    , SoftBreak
    , Str ":::"
    , SoftBreak
    , Str "bar"
    ]
]
```

```
% pandoc -t native
::::: Warning
Here is a paragraph.

And another.
:::::
^D
[ Div
    ( "" , [ "Warning" ] , [] )
    [ Para [ Str "Here is a paragraph." ]
    , Para [ Str "And another." ]
    ]
]
```