slidev icon indicating copy to clipboard operation
slidev copied to clipboard

`npx slidev export` fails to render png images in pdf

Open inoas opened this issue 3 years ago • 2 comments

See:

git clone [email protected]:inoas/gleam-elixir-phoenix-liveview-counter.git presentation
&& cd presentation/docs/slides/slidev
&& npx slidev export --dark

inoas avatar May 17 '22 23:05 inoas

This includes both: pngs added via markdown or html tag.

inoas avatar May 17 '22 23:05 inoas

I don't really know why but the layout does not really like the height expressed in percentage on the slide containing the image. Change it to a fixed value (here height: 412px; should be good) and the problem should be solved. It's not problematic to fix the value in px because the slide is scaled when the size of the window changed.

tonai avatar May 19 '22 14:05 tonai

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 14 '22 16:09 stale[bot]