Added tempfile for rendering large docs

I had an issue with the rendering of the html from the markdown. The file started not including any more once they were to a specific size. I change the rendering to use a temp file and parse that file.