> For the complete documentation index, see [llms.txt](https://kgisl.gitbook.io/lab3003/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kgisl.gitbook.io/lab3003/misc/bookmarklets.md).

# 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> 5. Click on the bookmarklet "preview" in your bookmark bar. 6. The HTML file will be rendered in your browser. Viola!

Enjoy!
