Markdown-Viewer

ThisIs-DeveloperApache-2.0活跃维护

一款跨浏览器、桌面和 Docker 的 Markdown 编辑器,支持 GitHub 风格实时预览、图表、LaTeX、代码高亮、PDF 导出和多标签页,单个 URL 即可打开使用。

A Markdown Editor That Lives in Your Browser, Desktop, and a Single URL. Fast GitHub-style Markdown editing with live preview, diagrams, LaTeX, syntax highlighting, PDF export, and multi-tab support across web, desktop, and Docker.

v3.10.5发布于 2026-10-27 16:18 UTC560star +2 / 7 天130fork同步于 2026-11-10 06:01 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
git clone https://github.com/ThisIs-Developer/Markdown-Viewer.git
硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v3.10.5
  1. v3.10.5最新正式版2026-10-27 · 2026-10-27 16:18 UTC

    Description

    Added a safety-focused desktop Linked Workspace, configurable Preview Styling, and a categorized emoji browser, while strengthening recovery, storage coordination, startup feedback, and editor polish.

    • Desktop Linked Workspace: Link external Markdown files and folders beside independent Vault documents, with separate recovery drafts, explicit Save and Save As workflows, bounded scans, conflict and missing-source handling, conversion to Vault copies, folder export, rescan, grouping, progress, and removals that preserve originals. Imported backups recover drafts without restoring authority over external paths.
    • Preview Styling & Emoji: Choose a saved code theme, math font, Mermaid theme and style, and supported emoji skin tone. Browse ten emoji groups, search names, aliases, keywords, or emoji, retain ordered selections across filters, and copy or insert them with keyboard and responsive loading support.
    • Recovery & Storage Safety: Coordinate queued saves, deletes, moves, folder registration, workspace replacement, and Secret Workspace transitions. Successful recovered-copy saves now consume only their matching journal, so the same recovery document does not return on every launch.
    • Editor & Interface Polish: Match Preview and Explorer startup states, align slash commands with shared dropdown behavior, keep menus clear of the typing line, preserve chooser and upload targets, and normalize split-document spacing and empty states.
    • Distribution & Quality: Synchronize web, PWA, Docker, and Neutralino resources; retain all 15 locale catalogs; update sanitizer and YAML dependencies; and expand linked-workspace, recovery, emoji, visual-renderer, and desktop-filesystem coverage.

    What's Changed

    Full Changelog: https://github.com/ThisIs-Developer/Markdown-Viewer/compare/v3.10.4...v3.10.5

  2. v3.10.42026-10-09 · 2026-10-09 18:29 UTC
    查看更新说明

    Description

    Added faster keyboard-first authoring and dependable rich-copy, selection, navigation, and fullscreen behavior, with practical Explorer, tab, and desktop packaging improvements.

    • Slash Command Authoring: Added a searchable line-start / menu for headings, lists, quotes, code, math, links, alerts, tables, diagrams, media, and other blocks. It supports keyboard and pointer selection, existing chooser handoff, IME input, RTL placement, document switching, and accessible listbox state.
    • Clipboard & Selection: Made Copy Markdown consistently copy the complete targeted document, kept Editor selection copies as raw source, and supplied sanitized HTML plus plain text from Preview. Added pane-scoped Select All across primary, secondary, and read-only documents with reliable touch behavior.
    • Navigation & Fullscreen: Prevented Page Up/Down from shifting the workspace sideways, restored smooth paging while preserving native caret and selection behavior, and stabilized synchronized panes. Added older Safari fullscreen support plus an explicit Expanded view fallback when native page fullscreen is unavailable or denied.
    • Explorer & Tabs: Applied natural numeric ordering to document titles, folder names, and move destinations. Added browser-style middle-click tab closing without activating the tab or deleting its saved document.
    • Desktop & Quality: Embedded the project artwork in Windows executables and desktop windows, refreshed the Workspace icon, synchronized web and Neutralino resources, retained all 15 locale catalogs, and expanded focused and cross-browser coverage.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/ThisIs-Developer/Markdown-Viewer/compare/v3.10.3...v3.10.4

  3. v3.10.32026-09-27 · 2026-09-27 19:12 UTC
    查看更新说明

    Description

    Added a responsive Document Outline and configurable Copy TOC workflow, while improving localized search content and multilingual Markdown rendering fidelity.

    • Document Outline: Added an automatically updated H1–H6 tree with collapsible branches, hierarchy guides, Collapse/Expand All, active-section tracking, and navigation that preserves Editor, Preview, or Split mode. The responsive right sidebar shares Find & Replace styling, a 340px default, resize handles, keyboard resizing, and width reset behavior.
    • Copy TOC & Heading Anchors: Added AST-based TOC generation with default H2–H4 depth, configurable H1–H6 limits, bulleted, hierarchical numbered, or plain output, optional level normalization, and a collapsible wrapper. Preview and copied links now share GitHub-compatible Unicode, emoji, fallback, and duplicate-heading anchors.
    • Localized Search Content: Served useful translated welcome content and starter documents in the initial HTML for all 15 language URLs, made the public URL authoritative for language and metadata, preserved saved documents during language changes, added production-like SEO middleware to local development, and introduced a read-only live deployment audit.
    • Typography & RTL Rendering: Prevented Japanese and Korean interface selection from changing document or release-note typography, aligned right-to-left list padding and bullets without clipping, and restored GitHub-style spacing between lists and following blocks.
    • Build, Offline & Desktop: Added a bundled TOC generator with dependency licenses and Node unit coverage, included the new TOC and localized welcome modules in PWA caching, expanded static validation, synchronized desktop resources, and retained full locale-catalog parity.

    What's Changed

    Full Changelog: https://github.com/ThisIs-Developer/Markdown-Viewer/compare/v3.10.2...v3.10.3

  4. v3.10.22026-09-03 · 2026-09-03 18:29 UTC
    查看更新说明

    Description

    Strengthened workspace recovery, upgraded rich-content exports, and made Markdown editing and review state more dependable while improving international discovery and production Live Share routing.

    • Workspace Safety & Trash: Replaced unsafe whole-workspace write paths with document-scoped, revision-aware persistence; preserved conflict copies, interrupted edits, and orphaned content; made browser backup and Secret Workspace replacement transactional; journaled desktop moves and index writes; and added a responsive, multi-select Trash for normal and encrypted documents with safe 30-day retention.
    • Markdown Editing & Rendering: Replaced document-wide formatting rewrites with grammar-aware parsing for math, footnotes, headings, definition lists, code, and adjacent lists; kept maps and STL responsive; added an accessible 8×8 quick table selector plus a custom table dialog; refined toolbar icons; and preserved editor selections when opening the context menu.
    • Preview & Review Reliability: Stored Preview scroll positions per document, stabilized comment highlights across complete and formatted nodes, blocked link navigation while selecting comments, and preserved linked-image and commented-image geometry.
    • Export Appearance & Rich Content: Added remembered Light and Dark appearance controls for HTML, browser-print PDF, raster PDF, and PNG; corrected dark/light tables, alerts, dividers, backgrounds, and frontmatter handling; rendered every supported diagram and rich-content type before PDF/PNG capture; and fitted Markmaps to printable bounds without changing the visible app theme.
    • Search, Performance & Collaboration: Made all 15 localized URLs independently indexable with canonical, hreflang, social, structured-data, and sitemap coverage; added Bulgarian and Google verification metadata, real redirect/404 handling, and retained critical preloads; restored production Live Share WebSocket routing through Cloudflare Pages Functions.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/ThisIs-Developer/Markdown-Viewer/compare/v3.10.1...v3.10.2

  5. v3.10.12026-08-23 · 2026-08-23 19:24 UTC
    查看更新说明

    Description

    Rebuilt comments around precise text and rendered-element selections, consolidated document controls, and expanded keyboard-first editing while improving workspace reliability, localization, and release visibility.

    • Comments & Collaboration: Added selection-first anchored comments, synchronized document highlights and thread cards, nested editable replies, clearer open/resolved states, responsive panel layouts, and Live Share identities that follow participant name changes, including for view-only collaborators.
    • Interface & Editing: Consolidated document actions into a clearer header toolbar, reorganized Markdown formatting controls, refined disabled, dropdown, theme, and Private mode states, and added familiar formatting, navigation, file, view, and fullscreen shortcuts across web and desktop where browser-reserved keys permit.
    • Explorer & Reliability: Made dragging any selected file move the complete multi-file selection, widened expanded-folder drop targets, refreshed word, character, and reading-time statistics on every render and reopened document, and made clipboard success feedback wait for the actual copy result.
    • Release Experience & Localization: Added a branded, read-only in-app release-note tab with first-run and upgrade visibility, version-aware seen tracking, section navigation, and an About action, and expanded the interface from 14 to 15 languages with Bulgarian.
    • Testing, Security & Compatibility: Published locked local Playwright tooling with static checks, Chromium end-to-end coverage, and cross-browser smoke tests; updated DOMPurify and js-yaml, corrected integrity-checked browser assets, synchronized desktop dependencies, and restored WebKit local-development support.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/ThisIs-Developer/Markdown-Viewer/compare/v3.10.0...v3.10.1

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    A local-first Markdown editor and viewer with live preview.

    Open, write, organize, review, render, export, and optionally share Markdown in a browser, as a Progressive Web App (PWA), in Docker, or in the Neutralino desktop application.

    License Latest release

    English · 日本語 · 한국어 · 简体中文 · 繁體中文

    Open the web app · Start with the documentation · Report an issue · View releases

    What Markdown Viewer Does

    Markdown Viewer is an open source, local-first workspace for developers, writers, students, researchers, and anyone working with .md or .markdown files. Go beyond plain text. Organize multiple documents, review with anchored comments without changing the Markdown, and render diagrams, maps, charts, math, 3D models, and music—all in one focused workspace.

    Turn a document into a Share Snapshot link for quick handoffs, or start access-controlled Live Share for real-time co-editing, live cursors, anchored comments, and threaded replies. Everyday editing stays on your device. No account is required, and the application includes no ads, analytics, telemetry, or subscriptions.

    Highlights

    • Workspace and documents: organize naturally sorted documents and folders with per-document IndexedDB storage on the web; use Recent, Favorites, search, tabs, bulk actions, an encrypted Secret Workspace, and a 30-day Trash. The desktop app can also link external Markdown files and folders beside independent Vault copies, keeping automatic recovery drafts separate from explicit writes to originals. Middle-click a tab to close it without deleting its saved document.
    • Backup and restore: export or import a folder-preserving workspace ZIP; encrypted Secret Workspace files are optional, while trash, desktop history, and recovery journals stay outside the backup. Desktop backups can recover linked drafts but never silently restore write access to external paths.
    • Editing and review: switch among Editor, Split view, and Preview; type / at the start of a line for searchable block commands; browse categorized GitHub emojis; use formatting tools, an 8×8 quick table selector, productivity shortcuts, custom undo/redo, Find and Replace, LTR/RTL direction, smooth Page Up/Down navigation, pane-scoped Select All, rich Preview copying, selection-anchored comments, and threaded replies.
    • Markdown rendering: use CommonMark-style Markdown, GitHub-Flavored Markdown (GFM), tables, task lists, alerts, footnotes, definition lists, syntax highlighting, sanitized HTML, and MathJax. Preview Styling controls the code theme, math font, Mermaid theme and style, and supported emoji skin tone.
    • Document Outline: use the book-text button after Emoji, Find & Replace, and Full Screen to open a resizable right sidebar with collapsible heading branches, a Collapse/Expand All control, and section navigation in Editor, Preview, and Split modes. Copy a GitHub-compatible Markdown TOC with configurable heading depth, bulleted/numbered links or plain text, optional level normalization, and a collapsible wrapper. The outline follows the current document and shares Find & Replace's width and header styling.
    • Localized discovery: open any of 15 language URLs with translated initial content and a localized starter document before JavaScript runs; changing the interface language preserves user-authored Markdown and Preview typography.
    • Visual content: render Mermaid, PlantUML, Graphviz/DOT, D2, Vega-Lite, WaveDrom, Markmap, GeoJSON, TopoJSON, STL, and ABC notation.
    • Import and export: open local files or GitHub content from branches, tags, commit SHAs, and optionally private repositories; export Markdown, standalone HTML, PNG, Standard PDF/Save as PDF, or Rendered PDF with remembered Light or Dark appearance and complete rich-content preparation for PDF and PNG.

    • Optional sharing: create a Share Snapshot with View only or Can edit access, or start a temporary Live Share room with host, Can edit, and View only capabilities.

    • Multiple delivery options: use the hosted web app, install the PWA, self-host static files, run Docker, deploy on Cloudflare, or build the Neutralino desktop application.

    For verified behavior, limits, and implementation notes, read the feature reference.

    Quick Start

    Use the hosted application at markdownviewer.pages.dev, or run the repository through a local HTTP server:

    git clone https://github.com/ThisIs-Developer/Markdown-Viewer.git
    cd Markdown-Viewer
    python -m http.server 8080
    

    Open http://localhost:8080. Do not rely on file://; browser security rules can block Web Workers and Service Workers.

    Other options:

    TargetStart here
    PWA or static web hostingInstallation
    DockerDocker Deployment
    Cloudflare Pages, KV, and Durable ObjectsConfiguration
    Neutralino desktop applicationDesktop Application

    Local and Network Behavior

    Markdown Viewer is local-first, not network-free. The following table shows the main boundary:

    WorkflowDefault data path
    Editing, local imports, Preview, Workspace autosave, and most exportsOn the device
    Web libraries and uncached renderer dependenciesCDN requests in the web/PWA build
    GitHub import and emoji lookupPublic content uses GitHub APIs and raw-content hosts; private content uses an optional PAT only with api.github.com
    PlantUML, D2, Graphviz, Vega-Lite, WaveDrom, and some diagram previewsDiagram source can be sent to PlantUML, Kroki, or mermaid.ink
    Consented image, GIF, and video insertionPublic, content-addressed Cloudflare media storage for 90 days
    Large Share SnapshotCloudflare KV for 90 days
    Live ShareWebSocket relay through a Cloudflare Durable Object; document content is not persisted server-side
    External images, media, links, and map tilesThe referenced external host

    Share Snapshot and Live Share URLs are bearer links. Anyone who obtains a valid link and capability can use the access it grants. Live Share is not end-to-end encrypted. See Privacy and Security before using network features with sensitive content.

    Visual Renderer Summary

    FenceRendering path
    mermaidClient-side; insertion previews can use mermaid.ink or Kroki
    plantumlPlantUML server; Kroki fallback
    d2, graphviz, dot, vega-lite, vegalite, wavedromKroki
    markmapClient-side Markmap and D3
    geojson, topojsonClient-side Leaflet; map tiles can use the network
    stlClient-side Three.js/WebGL
    abcClient-side ABCJS; playback needs browser audio support
    math and LaTeX delimitersClient-side MathJax

    Remote renderer services receive the source of the diagram they render. Do not send sensitive diagram source unless you trust the configured service. See the Markdown Reference for syntax and the feature reference for limitations.

    Documentation

    NeedPage
    Choose a starting pointDocumentation Home
    Review all product capabilities and limitsFeatures
    Learn day-to-day workflows and shortcutsUsage Guide
    Write supported Markdown and rich fencesMarkdown Reference
    Understand Share SnapshotShare Snapshot
    Understand Live ShareLive Share
    Review data handling and security boundariesPrivacy and Security
    Install or deploy the productInstallation
    Configure storage, renderers, and CloudflareConfiguration
    Resolve common problemsTroubleshooting and FAQ
    Contribute code, documentation, or translationsContributing
    Review community expectationsCode of Conduct
    Report a vulnerability or check security supportSecurity Policy
    Maintain translations and approved multilingual termsLocalization and Terminology

    Important Limits

    • Workspace backup import does not merge workspaces; it permanently replaces the current workspace after confirmation.
    • Workspace backups do not include trash, desktop history, or crash-recovery journals.
    • Recognized Trash records are permanently removed after 30 days; corrupt, incomplete, or future-format records remain for manual review.
    • A local Markdown file larger than 10 MB is rejected.
    • The GitHub credential vault stores up to 50 named PAT entries; each token name is limited to 60 characters.
    • Managed source media is limited to 25 MiB before processing; stored payload limits are 300 KiB for still images, 5 MiB for GIFs, and 10 MiB for videos.
    • Stored Share Snapshot content is limited to 8,000,000 characters and expires after 90 days.
    • Live Share allows up to 64 WebSocket participants and 8 MB per live message.
    • STL source is limited to 2 MiB and rendered geometry to 300,000 vertices.
    • The desktop vault retains up to 20 recent history copies per document.
    • Desktop linked-folder scans are bounded to 10,000 Markdown files, 40,000 entries, 2,000 directories, 32 levels, 20 MiB per source, 200 MiB staged content, and 60 seconds. Recovery drafts are not independent backups, and native filesystem checks cannot eliminate every race with another program.
    • Raster PDF and PNG exports remain subject to browser memory, canvas, and cross-origin resource limits.

    See Features: Known Technical Limits for context.

    Showcase Projects

    The following community project builds on Markdown Viewer and is maintained independently:

    • Markdown Desk: A native macOS wrapper built with Tauri that adds native file dialogs and handlers, menu-bar integration, automatic reloads, and in-app updates.

    Development Journey

    Markdown Viewer started as a small personal project on a PC: a simple Markdown viewer built with curiosity, mistakes, fixes, and a lot of care. The original version is still online and remains at the heart of the project.

    Read the Development Journey for the longer project history.

    Contributors

    Markdown Viewer grows through contributions from its community.

    Contributing and Support

    See the contributing guide, Code of Conduct, and Security Policy. The issue tracker is available for bugs and feature requests.

    License

    Markdown Viewer is licensed under the Apache License 2.0.