|
| 1 | +# MD Viewer - Markdown & Mermaid Preview |
| 2 | + |
| 3 | +## Flash Mintlify |
| 4 | + |
| 5 | +FlashDocs.flash-mintlify |
| 6 | +https://marketplace.visualstudio.com/items?itemName=FlashDocs.flash-mintlify |
| 7 | + |
| 8 | +Streamlines Mintlify documentation development inside VS Code. Requires VS Code 1.73.0+ and a project with a `docs.json` configuration file. Supports `.md`, `.mdx`, `.json`, `.yaml`, and `.yml` files. |
| 9 | + |
| 10 | +Features |
| 11 | + |
| 12 | +- In-Editor Preview - View documentation rendering directly in the editor (does not render project custom components) |
| 13 | +- Visual Editors - Graphical interfaces for editing frontmatter and component properties |
| 14 | +- Slash Commands - Quick access to common actions via "/" trigger |
| 15 | +- Smart Completions - Intelligent suggestions for components (triggered by `<`) and code blocks (triggered by `` ``` ``) |
| 16 | +- Link Management - Real-time validation of internal links and automatic file resolution |
| 17 | +- File Reference Tracking - Automatically updates imports and links when files are moved or renamed |
| 18 | +- CodeLens Actions - Inline commands for opening files and generating heading anchors |
| 19 | + |
| 20 | +Usage |
| 21 | +Install via VS Code Quick Open (`Ctrl+P` / `Cmd+P`) and paste: |
| 22 | +ext install FlashDocs.flash-mintlify |
| 23 | + |
| 24 | +--- |
| 25 | + |
| 26 | +## VnELabs.mdviewer |
| 27 | + |
| 28 | +https://marketplace.visualstudio.com/items?itemName=VnELabs.mdviewer |
| 29 | + |
| 30 | +MD Viewer - Markdown & Mermaid Preview |
| 31 | +A clean and modern Markdown preview extension for VS Code with Mermaid diagram support. |
| 32 | + |
| 33 | +Features |
| 34 | +Clean Markdown Rendering - GitHub-style markdown appearance |
| 35 | +Mermaid Diagram Support - Flowcharts, sequence diagrams, gantt charts and more |
| 36 | +Plan File Support - YAML frontmatter with name, overview, and todos |
| 37 | +Interactive Todos - Click to toggle status, dropdown for quick changes |
| 38 | +Collapsible Sections - Click headings to collapse/expand content |
| 39 | +Multi-Panel Support - Open multiple previews for different files |
| 40 | +PDF Export - Export to PDF with print-friendly styling |
| 41 | +Theme Aware - Automatically adapts to VS Code theme |
| 42 | + |
| 43 | +### Usage |
| 44 | + |
| 45 | +**Open any .md file** |
| 46 | +**Press Cmd+Shift+V (Mac) or Ctrl+Shift+V (Windows/Linux)** |
| 47 | +Or click the eye icon in the editor title bar |
| 48 | +Plan File Format |
| 49 | +You can use YAML frontmatter to create structured plan documents: |
| 50 | + |
| 51 | +--- |
| 52 | + |
| 53 | +name: Project Name |
| 54 | +overview: Brief description of the project |
| 55 | +todos: |
| 56 | + |
| 57 | +- id: task1 |
| 58 | + content: First task description |
| 59 | + status: completed |
| 60 | +- id: task2 |
| 61 | + content: Second task description |
| 62 | + status: in_progress |
| 63 | +- id: task3 |
| 64 | + content: Third task description |
| 65 | + status: pending |
| 66 | + |
| 67 | +--- |
| 68 | + |
| 69 | +Todo Statuses |
| 70 | +pending - Not started |
| 71 | +in_progress - Currently working on |
| 72 | +completed - Finished |
| 73 | +cancelled - No longer needed |
| 74 | +Mermaid Support |
| 75 | +Create diagrams using mermaid code blocks: |
| 76 | + |
| 77 | +flowchart TD |
| 78 | +A[Start] --> B{Decision?} |
| 79 | +B -->|Yes| C[Action 1] |
| 80 | +B -->|No| D[Action 2] |
| 81 | +C --> E[End] |
| 82 | +D --> E |
| 83 | + |
| 84 | +Commands |
| 85 | +Command Shortcut Description |
| 86 | +MD Viewer: Open Preview - Open preview in current panel |
| 87 | +MD Viewer: Open Preview to the Side Cmd+Shift+V Open preview in side panel |
| 88 | +Development |
| 89 | + |
| 90 | +# Install dependencies |
| 91 | + |
| 92 | +npm install |
| 93 | + |
| 94 | +# Compile |
| 95 | + |
| 96 | +npm run compile |
| 97 | + |
| 98 | +# Package |
| 99 | + |
| 100 | +npm run package |
0 commit comments