-
Notifications
You must be signed in to change notification settings - Fork 57
FAQ
Frequently asked questions about Markdown Viewer.
Markdown Viewer is a free, open-source, GitHub-style Markdown editor and live-preview application that runs entirely in the browser. It lets you write Markdown and see the rendered output side by side in real-time, with support for syntax highlighting, LaTeX math, Mermaid diagrams, and more.
Yes. Markdown Viewer is completely free and open-source under the Apache 2.0 License.
No. The application requires no sign-up, registration, or login.
No. All processing is done entirely in your browser. No text you type is ever transmitted to any server. Your content stays on your device.
No. The application does not include analytics scripts, advertising pixels, or tracking beacons.
Markdown Viewer stores editor content, tab state, and preferences (theme, view mode, sync scroll) in your browser’s localStorage for autosave and restore.
Use your browser’s Site Data or Clear Storage controls for the site. This removes autosaved content and preferences.
By default, the app loads libraries from public CDNs (cdnjs, jsDelivr). GitHub Import uses api.github.com and raw.githubusercontent.com to fetch public files. Self-host the libraries and avoid GitHub import to eliminate these requests.
Markdown Viewer works in all modern browsers:
- Chrome / Chromium 90+
- Firefox 90+
- Edge 90+
- Safari 15+
Yes. Markdown Viewer implements the full GitHub Flavored Markdown specification, including tables, task lists, strikethrough, and autolinks.
Yes. Markdown Viewer supports LaTeX math via MathJax:
-
Inline math:
$E = mc^2$ -
Block/display math:
$$\int_0^\infty e^{-x} dx = 1$$
See the Markdown Reference — Math section for more examples.
Yes. Markdown Viewer supports Mermaid diagrams using fenced code blocks with the mermaid language identifier. Supported diagram types include flowcharts, sequence diagrams, Gantt charts, class diagrams, entity-relationship diagrams, and more.
See the Features — Mermaid Diagrams section for details.
Yes. Click the Export → PDF button in the toolbar. The PDF is generated client-side using jsPDF and html2canvas.
For higher-quality PDF output (especially for wide code blocks or complex diagrams), use your browser's built-in Print → Save as PDF function (Ctrl+P / Cmd+P).
Yes. The editor content is automatically saved to the browser's localStorage after each change. Your content is restored the next time you open the application in the same browser.
Yes. Click the Share button in the toolbar. Your content is compressed and encoded into the URL. Share the resulting URL — when the recipient opens it, the editor is pre-populated with your content.
Note: Very large documents produce very long URLs, which may not work in all contexts.
The quickest options are:
# With Docker:
docker run -p 8080:80 ghcr.io/thisis-developer/markdown-viewer:latest
# With Python:
git clone https://github.com/ThisIs-Developer/Markdown-Viewer.git
cd Markdown-Viewer
python3 -m http.server 8080See the Installation page for all options.
Yes. The web app is pure HTML/CSS/JavaScript with no build step. Clone the repository and serve the root directory with any static web server (Python, Node.js serve, VS Code Live Server, Apache, Nginx, etc.).
- Web app: The application loads libraries from CDNs, so you need an internet connection for the initial load. Once assets are cached, it works offline until the cache is cleared.
- Desktop app: The desktop application uses the same CDN libraries by default. It can run offline after caching or if you replace CDN links with local copies and rebuild.
- Self-hosted Docker: Bundling CDN libraries locally makes the web app fully offline. By default, the Docker image still loads CDN libraries.
Yes. A native cross-platform desktop app is available for Windows, Linux, and macOS, built with Neutralinojs. Download the binary for your platform from the Releases page.
See the Desktop App wiki page for build instructions.
- Make sure JavaScript is enabled in your browser.
- Try a hard refresh (
Ctrl+Shift+R/Cmd+Shift+R). - Check the browser console (F12 → Console) for errors and report them as a GitHub Issue.
MathJax loads from a CDN. Ensure you have an active internet connection. If MathJax has already loaded but equations still don't render, check that your LaTeX syntax is correct — see Markdown Reference — Math.
Check that:
- The code block is tagged with
mermaid(lowercase). - Your diagram syntax is valid. You can validate it at mermaid.live.
- There are no JavaScript errors in the browser console.
This is a known limitation of the html2canvas approach. For better-quality PDF output, use Print → Save as PDF in your browser (Ctrl+P / Cmd+P).
macOS blocks unsigned binaries. Run this command to remove the quarantine flag:
xattr -d com.apple.quarantine markdown-viewer-mac_universal
chmod +x markdown-viewer-mac_universal
./markdown-viewer-mac_universalAlternatively, right-click the file in Finder, select Open, and confirm the prompt.
Make sure the binary is executable:
chmod +x markdown-viewer-linux_x64
./markdown-viewer-linux_x64See the Contributing page for the full guide. In summary:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/my-feature). - Make and test your changes.
- Open a Pull Request against
main.
Open a GitHub Issue with a clear description and (for bugs) steps to reproduce.