2017-03-04 23:01:29 +01:00
|
|
|
```
|
|
|
|
% pandoc -t native
|
|
|
|
[hi]{.smallcaps}
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para [ SmallCaps [ Str "hi" ] ] ]
|
2017-03-04 23:01:29 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -t native
|
|
|
|
[hi]{style="font-variant: small-caps;"}
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para [ SmallCaps [ Str "hi" ] ] ]
|
2017-03-04 23:01:29 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -t native
|
|
|
|
<span class="smallcaps">hi</span>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para [ SmallCaps [ Str "hi" ] ] ]
|
2017-03-04 23:01:29 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<p><span class="smallcaps">hi</span></p>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para [ SmallCaps [ Str "hi" ] ] ]
|
2017-03-04 23:01:29 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<p><span style="font-variant:small-caps">hi</span></p>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para [ SmallCaps [ Str "hi" ] ] ]
|
2017-03-04 23:01:29 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f native -t html
|
|
|
|
[Para [SmallCaps [Str "hi"]]]
|
|
|
|
^D
|
|
|
|
<p><span class="smallcaps">hi</span></p>
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2021-09-21 19:16:45 +02:00
|
|
|
% pandoc -f native -t markdown
|
2017-03-04 23:01:29 +01:00
|
|
|
[Para [SmallCaps [Str "hi"]]]
|
|
|
|
^D
|
|
|
|
[hi]{.smallcaps}
|
|
|
|
```
|
|
|
|
|
2020-04-11 18:57:59 +02:00
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<bdo dir="ltr">foo</bdo>
|
|
|
|
^D
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Plain
|
|
|
|
[ Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "foo" ] ]
|
|
|
|
]
|
2020-04-11 18:57:59 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<bdo dir="rtl">foo<bdo dir="ltr">bar</bdo>baz</bdo>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Plain
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Span
|
|
|
|
( "" , [] , [ ( "dir" , "rtl" ) ] )
|
|
|
|
[ Str "foo"
|
|
|
|
, Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "bar" ]
|
|
|
|
, Str "baz"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
2020-04-11 18:57:59 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<p><bdo dir="rtl">This text will go right
|
|
|
|
to left.</bdo></p>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Span
|
|
|
|
( "" , [] , [ ( "dir" , "rtl" ) ] )
|
|
|
|
[ Str "This"
|
|
|
|
, Space
|
|
|
|
, Str "text"
|
|
|
|
, Space
|
|
|
|
, Str "will"
|
|
|
|
, Space
|
|
|
|
, Str "go"
|
|
|
|
, Space
|
|
|
|
, Str "right"
|
|
|
|
, SoftBreak
|
|
|
|
, Str "to"
|
|
|
|
, Space
|
|
|
|
, Str "left."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
2020-04-11 18:57:59 +02:00
|
|
|
```
|