Support 'show' param for statement PDFs [#47417]

This pulls in the `show` parameter support from the NU fork.