Install
openclaw skills install markdown-viewerLive markdown viewer for AI pair-editing. When you collaborate, the updates render instantly. Works with any AI agent and web browser.
openclaw skills install markdown-viewerLive markdown viewer for AI pair-editing. When you collaborate, the updates render instantly. Works with any AI agent and web browser.
GitHub: wipcomputer/wip-markdown-viewer npm: @wipcomputer/markdown-viewer
npm install -g @wipcomputer/markdown-viewer
This installs the mdview command globally. Zero runtime dependencies. Pure Node.js.
Start the server (binds to 127.0.0.1 only, never exposed to the network):
curl -s http://127.0.0.1:3000/ > /dev/null 2>&1 || mdview &
Open a file in your default browser:
# macOS
open "http://127.0.0.1:3000/view?path=/absolute/path/to/file.md"
# Linux
xdg-open "http://127.0.0.1:3000/view?path=/absolute/path/to/file.md"
# Windows
start "http://127.0.0.1:3000/view?path=/absolute/path/to/file.md"
@wipcomputer/markdown-viewer globallyOpen multiple tabs to work on multiple documents at once.
127.0.0.1 only. It is not accessible from other machines./view?path= parameter reads files from your local filesystem. Use --root <dir> to restrict access to a specific directory tree. Recommended for shared environments.Page shows the index instead of my file: The server was started with --root restricting access. Restart without --root.
Safari stalls or shows blank page: Hard refresh (Cmd+Shift+R) or restart the server. Safari caches SSE connections aggressively.
macOS open drops the query string: Use AppleScript instead:
osascript -e 'tell application "Safari" to open location "http://127.0.0.1:3000/view?path=/your/file.md"'
http://127.0.0.1:3000 by default. Use mdview --port 8080 to change.mdview). Starting with a path locks the server to that directory.