View html file in github repo?

Viewed 7729

I have a topic modeling visualization created using a python package saved to an html file in my github repository. I tried to open this using -

1. http://htmlpreview.github.io/ website

http://htmlpreview.github.io/?https://github.com/parvathysarat/wordpress-blog-text-mining/blob/master/topicmodeling_vis.html doesn't work, no display

2. https://rawgit.com - 403 Forbidden. Not opening new repositories.

Is there an alternative way? It's a public repo.

URL - https://github.com/parvathysarat/wordpress-blog-text-mining/blob/master/index.html

1 Answers

This may be because the file you're trying to preview isn't a complete HTML document.

Make sure you add <!DOCTYPE html>, <html>, <head>, and <body> tags to make it into a complete HTML document, then try again.

Related