mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 21:55:44 +00:00
50 lines
949 B
Markdown
50 lines
949 B
Markdown
```
|
|
% pandoc -f typst -t native
|
|
#include "command/11090/ch1.typ"
|
|
|
|
== Chapter Two
|
|
|
|
#figure(
|
|
image("command/11090/media/image1.png"),
|
|
caption: [This is an image.]
|
|
)
|
|
^D
|
|
[ Header
|
|
2 ( "" , [] , [] ) [ Str "Chapter" , Space , Str "One" ]
|
|
, Figure
|
|
( "" , [] , [] )
|
|
(Caption
|
|
Nothing [ Para [ Str "An" , Space , Str "image." ] ])
|
|
[ Para
|
|
[ Image
|
|
( "" , [] , [] )
|
|
[]
|
|
( "command/11090/media/image1.png" , "" )
|
|
]
|
|
]
|
|
, Header
|
|
2 ( "" , [] , [] ) [ Str "Chapter" , Space , Str "Two" ]
|
|
, Figure
|
|
( "" , [] , [] )
|
|
(Caption
|
|
Nothing
|
|
[ Para
|
|
[ Str "This"
|
|
, Space
|
|
, Str "is"
|
|
, Space
|
|
, Str "an"
|
|
, Space
|
|
, Str "image."
|
|
]
|
|
])
|
|
[ Para
|
|
[ Image
|
|
( "" , [] , [] )
|
|
[]
|
|
( "command/11090/media/image1.png" , "" )
|
|
]
|
|
]
|
|
]
|
|
```
|