aboutsummaryrefslogtreecommitdiff
path: root/test/command/ascii.md
blob: a328ed86378b263e5df8be5f731b7fb2a021797e (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
```
% pandoc -t html --ascii
äéıå
^D
<p>&#xE4;&#xE9;&#x131;&#xE5;</p>
```

```
% pandoc -t latex --ascii
äéıå
^D
\"{a}\'{e}\i\r{a}
```

```
% pandoc -t man --ascii
äéıå
^D
.PP
\[:a]\['e]\[.i]\[oa]
```

```
% pandoc -t ms --ascii
äéıå
^D
.LP
\[:a]\['e]\[.i]\[oa]
```

```
% pandoc -t docbook --ascii
äéıå
^D
<para>
  &#xE4;&#xE9;&#x131;&#xE5;
</para>
```

```
% pandoc -t jats --ascii
äéıå
^D
<p>&#xE4;&#xE9;&#x131;&#xE5;</p>
```

```
% pandoc -t markdown-smart --ascii
"äéıå"
^D
&ldquo;&auml;&eacute;&imath;&aring;&rdquo;
```

# CommonMark tests

```
% pandoc -f commonmark -t commonmark --ascii
hello … ok? … bye
^D
hello &mldr; ok? &mldr; bye
```

```
% pandoc -f commonmark+smart -t commonmark-smart --ascii --wrap=none
"hi"...dog's breath---cat 5--6
^D
&ldquo;hi&rdquo;&mldr;dog&rsquo;s breath&mdash;cat 5&ndash;6
```

```
% pandoc -f commonmark+smart -t commonmark+smart --ascii
"hi"...dog's breath---cat 5--6
^D
"hi"...dog's breath---cat 5--6
```

```
% pandoc -f commonmark -t commonmark --ascii
foo &#1234; bar
^D
foo &#1234; bar
```

```
% pandoc -f commonmark -t commonmark --ascii
\[foo\](bar)
^D
\[foo\](bar)
```