Live MarkdownLive Markdown is a VS Code custom text editor for editing Markdown in one rendered pane. Markdown remains the document model: the webview edits source ranges and VS Code owns saving and document versions. UseOpen a Use the Command Palette for source-mode changes, reading presets, appearance tools, and opening the source editor. Choose Reading Preset and Reset Appearance ask which workspace, workspace-folder, or user settings scope to update. Bold, italic, undo, and redo shortcuts are scoped to this editor. A bounded host-side journal applies undo/redo as source-range edits to the shared VS Code document; CodeMirror does not keep a competing history stack. Consecutive character typing and backspaces from one view group into one undo step. RenderingThe current dialect styles ATX and Setext headings, emphasis, inline code, strikethrough, links, fenced code, and blockquotes. Syntax markers recede away from the active line and selection. When VS Code's This is a documented Markdown dialect; it does not promise full GitHub visual parity. VS Code native editor decorations, minimap, and editing commands from other extensions are not automatically available inside the custom editor. Use Open in Text Editor when a native editor feature is needed. If a rendering rule fails, the editor drops its decorations, shows a status message, and leaves the Markdown source editable. For documents above 1 MiB or 20,000 lines, expensive image and table widgets are simplified while editing remains enabled. Documents above 5 MiB open in source mode with a brief explanation. Individual tables larger than 16,000 characters or 200 lines remain visible as editable Markdown source, and at most 16 image widgets render in the visible region at once. These limits keep dense blocks responsive even when the overall document is below the large-document thresholds. Same-document split views share a document bridge and keep selection and scroll state per view. Disjoint pending edits are rebased over host changes; overlapping edits become recoverable draft conflicts. Unacknowledged source patches are journaled per webview in VS Code workspace state, with bounded size and explicit copy/reload recovery. SettingsSettings are read for the edited document and support VS Code configuration precedence:
Live Markdown remains available for editing in Restricted Mode. Workspace CSS and remote images stay disabled until the workspace is trusted. Custom CSS surfaceCustom stylesheets load after the built-in theme. The supported theme variables are For example, a stylesheet can set For screen-reader editing, set Local images are limited to files below the document's workspace folder, or the document directory for a standalone file. HTTPS images require a trusted workspace and Development
Open this folder in VS Code and press F5 to launch the Extension Development Host. The automated Extension Host suite covers document synchronization, undo/redo, recovery (including closing immediately after an uncommitted draft reaches the host), source-mode transitions, URI-backed providers, read-only files, no-op byte preservation, Markdown editing, and split-view synchronization after rename. It passes on the current VS Code and the declared minimum, 1.85.0. GitHub Actions runs the build and integration suite on macOS, Linux, and Windows against VS Code 1.85.0 and current stable. Linux uses Xvfb; it checks Linux VS Code behavior without claiming native compositor or input-method coverage. Manual macOS smoke checks cover Explorer opening, Save As, rendered widgets and keyboard navigation, clipboard source fidelity, source-mode selection and scroll preservation, image layout changes, find/replace, dead-key input, accessibility roles, hidden-tab suspension, and the built-in High Contrast theme. Automated integration suites pass on VS Code 1.140.0 and 1.85.0 for macOS and in a Linux x64 Debian container under Xvfb; the Linux run validates the Linux VS Code and extension-host behavior, not a physical Linux desktop compositor. Local 100-sample animation-frame, Chromium compositor-screencast, extension-host edit-preparation, and acknowledgement observations inform the implementation limits; callback and screencast timing do not measure physical display latency. One real SSH-backed workspace round trip has been verified between VS Code 1.85 on macOS and Debian 12 x64; WSL and other remote configurations remain open. Windows, screen-reader interaction, OS forced-colors mode, and real IME composition still need release validation. |