work with htmlpreview.github.io