GitHub HTML & CSS Previewer is a Chrome extension that adds a convenient preview button to HTML files in GitHub repositories. This button allows you to quickly view the rendered output directly within new browser tab.
- Adds a < Preview > button next to HTML and CSS files in GitHub repositories.
- Opens a new tab to display the rendered content of HTML files.
- Inlines CSS and images to ensure accurate previews.
- Toggle functionality to enable or disable the extension as needed.
- Clone or download this repository to your local machine.
- Open Chrome and navigate to chrome://extensions/.
- Enable "Developer mode" by toggling the switch in the upper-right corner.
- Click the "Load unpacked" button and select the extension directory from where you downloaded/cloned this repository.
- The extension should now be installed and active.
- Navigate to any GitHub repository containing HTML and CSS files.
- You will see a < Preview > button next to HTML files.
- Click the < Preview > button to open a new tab with the rendered content.
- Use the popup toggle to enable or disable the preview functionality.
- This extension might not work as expected if there is scripts linked to the HTML.
This project is licensed under the MIT License. See the LICENSE file for details.