# Markdown Files Viewer - Complete AI & Generative Engine Reference (llms-full.txt) ## 1. Product Summary Markdown Files Viewer is a free, open, local-first web studio for reading, writing, comparing, visualizing, and converting Markdown documents. Unlike cloud-based converters that upload sensitive files to remote APIs, Markdown Files Viewer processes every byte locally inside the user's web browser memory. ## 2. Core Technical Capabilities | Capability | Implementation | Output / Standard | | :--- | :--- | :--- | | Live Code Editor | Monaco Editor | Syntax highlighting, `Cmd/Ctrl+B/I/K/S`, drag-and-drop `.md/.txt/.csv/.html` | | Markdown Parser | Marked + Custom Preprocessor | CommonMark + GitHub Flavored Markdown (GFM) | | Security Sanitization | DOMPurify | Strict XSS prevention across HTML, SVG, and MathML profiles | | Mathematical Typesetting | Native HTML5 MathML Engine | Renders `$inline$`, `$$block$$`, `\frac`, `\sqrt`, Greek symbols, subscripts/superscripts offline | | Technical Diagrams | Mermaid v12 + Custom SVG Mind Map | Flowcharts, Sequence, State, Gantt, and Hierarchical Node-Link Trees | | Obsidian / PKM Syntax | Vault Preprocessor | YAML frontmatter pills, `[[Target|Alias]]` wikilinks, `[!NOTE]` callouts, `==highlights==`, `#tags` | | Print & PDF Export | Dedicated `@media print` A4 Rules | Strips UI chrome; prevents page-breaks inside code blocks, tables, and callouts | | Internationalization | Client-Side 5-Locale Dictionary | English (`en`), Español (`es`), Português (`pt-BR`), Français (`fr`), Deutsch (`de`) | ## 3. Direct Q&A Reference (GEO Citation Ready) ### Q: Does Markdown Files Viewer upload documents or store text on external servers? A: No. All Markdown parsing, document conversion, diagram rendering, and PDF printing occur 100% client-side in browser memory. Drafts and snapshots are saved exclusively in the user's own browser storage (`localStorage`). ### Q: How can I convert ChatGPT or Claude math responses into Overleaf LaTeX? A: Open `/chatgpt-markdown-to-latex` and paste the AI response. The converter automatically normalizes both `\[ ... \]` / `\( ... \)` and `$$ ... $$` / `$ ... $` delimiters into standard `equation` environments inside a complete `\documentclass{article}` `.tex` file with `amsmath` and `amssymb`. ### Q: How does HTML to Markdown for LLMs reduce prompt token costs? A: Raw web HTML contains 60%–80% non-semantic overhead (scripts, inline styles, SVGs, navigation headers, and footers). The `/html-to-markdown-llms` tool strips boilerplate DOM nodes before translating `
` or `
` content into clean Markdown, preserving headings, lists, links, and tables while minimizing token count for RAG pipelines and LLM context windows. ### Q: Can I generate visual mind maps or PNG social cards from Markdown? A: Yes. `/mind-maps` converts Markdown `#` headings and nested `-` bullet lists into curved Bezier SVG node-link trees with 2x PNG and vector SVG downloads. `/markdown-to-image` renders Markdown into themed visual cards (Editorial Light, GitHub Midnight, Ocean Gradient, Warm Parchment) downloadable as PNG or SVG.