aboutsummaryrefslogtreecommitdiff
path: root/test/command/168.md
blob: 43c3b865a45ad84d3d8fb3f9ea2830e465876998 (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
```
% 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."]]]
```