mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-05 15:15:41 +00:00
24 lines
303 B
Markdown
24 lines
303 B
Markdown
```
|
|
% pandoc -f rst -t native
|
|
.. role:: py:class(emphasis)
|
|
|
|
:py:class:`foo`
|
|
^D
|
|
[ Para [ Emph [ Str "foo" ] ] ]
|
|
```
|
|
|
|
```
|
|
% pandoc -f rst -t native
|
|
:py:class:`foo`
|
|
^D
|
|
[ Para
|
|
[ Code
|
|
( ""
|
|
, [ "interpreted-text" ]
|
|
, [ ( "role" , "py:class" ) ]
|
|
)
|
|
"foo"
|
|
]
|
|
]
|
|
```
|