# HTML Viewer — Obsidian Community Plugin Render `.html` files directly inside Obsidian. Sandboxed by default — toggle **Scripts ON** for games, D3/ECharts visualizations, and interactive documents. --- ## Installation ### Manual (from this repo) Copy the `html-viewer/` folder into `/.obsidian/plugins/`, then enable it in Settings → Community Plugins. ``` .obsidian/plugins/html-viewer/ ├── manifest.json ├── main.js ├── styles.css └── README.md ``` Restart Obsidian or reload plugins (Ctrl+P → "Reload plugins"). --- ## Usage 1. Place any `.html` or `.htm` file in your vault 2. Click it in the file explorer → opens in HTML Viewer 3. Use the toolbar: | Button | Function | |--------|----------| | **Source / Rendered** | Toggle between raw HTML source and rendered view | | **Scripts: OFF / ON** | Enable/disable JavaScript execution (default: OFF) | | **Refresh** | Reload the file from disk | Or via command palette: **Open HTML viewer**. --- ## Modes ### Safe Mode (Scripts OFF — default) - All `