mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 05:05:53 +00:00
29 lines
486 B
Markdown
29 lines
486 B
Markdown
```
|
|
% pandoc -t typst --dpi 300
|
|
{width=300 height=300}
|
|
^D
|
|
#box(image("image.jpg", height: 1in, width: 1in))
|
|
```
|
|
|
|
```
|
|
% pandoc -t typst --dpi 600
|
|
{width=300px height=300px}
|
|
^D
|
|
#box(image("image.jpg", height: 0.5in, width: 0.5in))
|
|
```
|
|
|
|
```
|
|
% pandoc -t typst --dpi 600
|
|
{width=1in height=3cm}
|
|
^D
|
|
#box(image("image.jpg", height: 3cm, width: 1in))
|
|
```
|
|
|
|
|
|
```
|
|
% pandoc -t typst --dpi 600
|
|
{.foo .bar baz=3}
|
|
^D
|
|
#box(image("image.jpg"))
|
|
```
|