What is the simplest and most efficient way to pass a string containing HTML and CSS styling into PyQt5 and to return a png screenshot?
The strings are minor modifica