# Bookmarklets

#### HTML Previewer Bookmarklet for Gibhub

[preview](https://github.com/kgisl/pythonFDP/blob/master/misc/javascript\(function\(\)%7Blink%20=%20window.location.href%20;preview%20=%20%22https:/htmlpreview.github.io/?%22+link;window.open\(preview,%20%22_blank%22\)%7D\)\(\))

#### Steps

1. Cut and paste the entire code into a new file and name it with a .html extension
2. Display the file in the browser
3. Drag the link "preview" to your bookmark bar
4. Test Change You are all done!

Now visit a HTML file in the Github repository 4. For e.g. go to [https://github.com/kgisl/pythonFDP/blob/master/sortPythonic.html](https://github.com/kgisl/pythonFDP/blob/master/sortPythonic.html) 5. Click on the bookmarklet "preview" in your bookmark bar. 6. The HTML file will be rendered in your browser. Viola!

Enjoy!
