Repository navigation
Releases: baryon/markdown-live-preview
Releases · baryon/markdown-live-preview
Release list
v1.6.4
Fix
- Fix PDF export error: Bundle
puppeteer-coreinto the extension instead of treating it as an external dependency. Previously, the VSIX package failed to includepuppeteer-coredue to pnpm symlinks, causing "Cannot find module 'puppeteer-core'" error when using Save as PDF.
v1.6.3
What's New
Code block word wrap toggle
- New Wrap button in code block hover controls
- Toggles word wrap to eliminate horizontal scrollbars
- Line numbers stay aligned correctly on wrapped lines
PDF export improvements
- Open button in success notification to open PDF with system viewer
- Progress bar now dismisses properly before showing the notification
Bug fix
- Inline code spans (e.g.
$$...$$) no longer incorrectly treated as math expressions
v1.6.2
Bug Fix
Inline code spans no longer treated as math
- Backtick-wrapped math delimiters like
$$...$$and\[...\]were incorrectly rendered as math expressions - Root cause: regex
[\s\S]*?matched across newlines, pairing backticks on distant lines and consuming real inline code spans - Fix: use
[^\n]*?to restrict inline code matching to single lines
i18n README sync
- Updated math section in README.zh-CN.md and README.ja.md to match the english readme
- Added: inline/block math subsections, supported syntax table, quick actions, configuration table
v1.6.1
Bug Fix
Inline code spans no longer treated as math
- Backtick-wrapped math delimiters like
`$$...$$`and`\[...\]`were incorrectly rendered as math expressions instead of inline code - Now inline code spans are protected before math extraction, matching GitHub's rendering behavior
v1.6.0
What's New
Save as PDF Export
- Right-click → Save as PDF or click the PDF button in the page toolbar
- Uses system Chrome/Chromium/Edge via puppeteer-core (no bundled browser)
- Full fidelity: KaTeX math, Mermaid diagrams, code blocks, CJK text
- Selectable/searchable text in the generated PDF
- A4 format with print backgrounds enabled
Requirements
- Google Chrome, Chromium, or Microsoft Edge installed on your system
v1.5.5
v1.5.4
v1.5.3
v1.5.2
Fixes
- Fix branching connector stems penetrating through boxes by clipping to the closest box bottom edge
- Fix vertical arrows creating huge lines by using edge proximity with smallest-area box selection
- Add internal │ column divider detection and rendering as dashed vertical separator lines
- Split text at │ dividers for proper column-aware centering
v1.5.1
Bug Fixes
- Fix horizontal arrows overlapping with box rectangles (clip with 4px gap)
- Fix
→character rendered as duplicate arrowhead in SVG (filter only when overlapping detected arrows, preserve→in regular text) - Fix branching connector vertical stem not drawn due to CJK column drift (±2 tolerance)
- Fix false connector detection when box corner shifted by CJK alignment (
isBoxCornercheck withorigX) - Snap connector stem to nearest box center for cleaner alignment