Closed t29mato closed 5 months ago
Why the width
has a default value of 700?
There is no exact reason. I have thought that 30px is too narrow and 2000px is too wide. We can change these values to more reasonable numbers. I don't know which number is the bese, though. Do you have any idea?
No, if we don't pass any default value, what will happen?
Currently, the
pdf_viewer
function acceptswidth
andheight
parameters, which are expected to be integers or None. However, there's no explicit type checking in place.