mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 03:47:20 +00:00
968b0c13ee
These are now converted to inches as in the LaTeX writer. Closes #9945.
486 B
486 B
% 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"))