UI output to HTML or PDF

Hi Good Morning
I have uiOutput(outputId = 'myReport)
I use renderUI function to display, plots, tables, text and interpretation of statistics. Is there any way that i could save renderUI to PDF or html. The problem of using r markdown is that, to my knowledge, i have to pass lot of parameters to do lot more coding in r markdown document to generate the output which i have in r script.
Is there any way renderUI can go to html or pdf or the single dashboard can be saved to pdf or html
Thank you very much