aboutsummaryrefslogtreecommitdiff
path: root/test/command/168.md
blob: acd42b97dcd1c006d4e2fb45b3bf799f0793370b (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
65
66
67
68
69
70
71
72
73
```
% pandoc -t native
:::::::::: warning ::::::::::::
This is the warning!

1. list
2. another

::: {#myid .class key=val}
nested div
:::
:::::::::::::::::::::::::::::::
^D
[ Div
    ( "" , [ "warning" ] , [] )
    [ Para
        [ Str "This"
        , Space
        , Str "is"
        , Space
        , Str "the"
        , Space
        , Str "warning!"
        ]
    , OrderedList
        ( 1 , Decimal , Period )
        [ [ Plain [ Str "list" ] ] , [ Plain [ Str "another" ] ] ]
    , Div
        ( "myid" , [ "class" ] , [ ( "key" , "val" ) ] )
        [ Para [ Str "nested" , Space , Str "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"
        , Space
        , Str "is"
        , Space
        , Str "a"
        , Space
        , Str "paragraph."
        ]
    , Para [ Str "And" , Space , Str "another." ]
    ]
]
```