Can't you preprocess them with a custom parser and then hand over a conformant HTML to the browser?
You could even - technically - take a picture as an input and then render it via background color rgb() using divs pixel-by-pixel. thatd still fall under that description.