File: 1592.md

package info (click to toggle)
haskell-pandoc 3.1.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 23,052 kB
  • sloc: haskell: 81,285; xml: 3,855; makefile: 13
file content (98 lines) | stat: -rw-r--r-- 1,576 bytes parent folder | download | duplicates (2)
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
90
91
92
93
94
95
96
97
98
```
% pandoc -t native
[hi]{.smallcaps}
^D
[ Para [ SmallCaps [ Str "hi" ] ] ]
```

```
% pandoc -t native
[hi]{style="font-variant: small-caps;"}
^D
[ Para [ SmallCaps [ Str "hi" ] ] ]
```

```
% pandoc -t native
<span class="smallcaps">hi</span>
^D
[ Para [ SmallCaps [ Str "hi" ] ] ]
```

```
% pandoc -f html -t native
<p><span class="smallcaps">hi</span></p>
^D
[ Para [ SmallCaps [ Str "hi" ] ] ]
```

```
% pandoc -f html -t native
<p><span style="font-variant:small-caps">hi</span></p>
^D
[ Para [ SmallCaps [ Str "hi" ] ] ]
```

```
% pandoc -f native -t html
[Para [SmallCaps [Str "hi"]]]
^D
<p><span class="smallcaps">hi</span></p>
```

```
% pandoc -f native -t markdown
[Para [SmallCaps [Str "hi"]]]
^D
[hi]{.smallcaps}
```

```
% pandoc -f html -t native
<bdo dir="ltr">foo</bdo>
^D
[ Plain
    [ Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "foo" ] ]
]
```

```
% pandoc -f html -t native
<bdo dir="rtl">foo<bdo dir="ltr">bar</bdo>baz</bdo>
^D
[ Plain
    [ Span
        ( "" , [] , [ ( "dir" , "rtl" ) ] )
        [ Str "foo"
        , Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "bar" ]
        , Str "baz"
        ]
    ]
]
```

```
% pandoc -f html -t native
<p><bdo dir="rtl">This text will go right
to left.</bdo></p>
^D
[ Para
    [ Span
        ( "" , [] , [ ( "dir" , "rtl" ) ] )
        [ Str "This"
        , Space
        , Str "text"
        , Space
        , Str "will"
        , Space
        , Str "go"
        , Space
        , Str "right"
        , SoftBreak
        , Str "to"
        , Space
        , Str "left."
        ]
    ]
]
```