Release Notes - Markdown Viewer v3.7.4
Pleased to release Markdown Viewer v3.7.4. This release includes substantial feature additions and reliability improvements, including internationalization expansion, desktop app startup fix, export centering, re-engineered PDF page breaking, and advanced Find & Replace features.
🌐 Internationalization (i18n)
- Description: Added 9 new UI languages (expanding localization support) and synchronized desktop resources to align with language-specific menu, settings, and layout formats.
🖥️ Desktop Application
- Description: Fixed the Windows desktop application skeleton startup issue, resolving launch timing gaps and ensuring the desktop container opens reliably.
📄 HTML Export
- Description: Implemented centering alignment styles for HTML exports even when JavaScript execution is disabled in the target environment (fixes #152).
🖨️ PDF Export & Page-Break Overhauls (Fixes #166)
We completed a comprehensive rewrite of the PDF generation layout engine to guarantee professional, publication-quality document pagination:
- Layout Scaling & Preservation: Implemented a physical scaling fallback for SVG icons, large images, and layout elements, preventing them from overflowing page boundaries or creating large layout gaps.
- Mermaid.js Serialization: Serialized dynamic Mermaid diagram SVGs to static base64 images prior to PDF printing. This prevents pagination engine glitches from breaking diagrams across pages.
- MathJax Double Scaling: Prevented MathJax containers from experiencing double-scaling and synchronized page-build logic with webfont load states.
- Page-Break Safety Buffers: Resolved margin-collapse layout shifting, blockquote/callout splits, and heading keep-with-next threshold checks to ensure content splits cleanly at page boundaries.
🔗 Table of Contents (TOC) Navigation (Fixes #169)
- Smooth Scrolling: Implemented smooth dual-pane scrolling when clicking Table of Contents links—scrolling both the preview heading and the editor source line in parallel.
- Clean URLs: Explicitly intercepted TOC clicks to prevent modifying the browser's address bar hash or polluting navigation history.
🔍 Find & Replace Pane Integration (Fixes #169)
- Preview Highlighting: Integrated the Find & Replace search logic with preview-mode text node highlighting. Search keywords are highlighted in the preview container while correctly skipping structural tags, Mermaid diagrams, and MathJax containers.
- Auto-Scrolling: Matched the active match selection cycle to automatically scroll the preview container, keeping the highlighted matches in view.
- Offset/Padding Corrections: Cleaned up highlight element offsets in the editor container to solve alignment shifts.
🛠️ Commit Log Summary (v3.7.3 → v3.7.4)
| Commit | Message |
|---|---|
8ea71a8 |
Merge pull request #171 from ThisIs-Developer/fix/preview-find-scrolling-highlighting |
52316c2 |
fix(find): implement preview highlighting, auto-scrolling, and resolve editor alignment (fixes #169) |
841a184 |
Merge pull request #170 from ThisIs-Developer/fix/toc-scrolling-169 |
fc5e16f |
fix: resolve Table of Contents smooth scroll navigation (#169) |
03c7bdb |
Merge pull request #168 from ThisIs-Developer/codex/fix-pdf-page-breaks-166 |
01ba101 |
Merge pull request #167 from ThisIs-Developer/codex/fix-export-centering-sharepoint |
70915f6 |
fix(pdf): resolve blockquote alerts and nested table list splitting via safety buffer and valid list item shifting |
5043e4e |
fix(pdf): resolve blockquote callout splitting and margin-collapse pagination issues |
e94d24e |
fix(pdf): resolve margin-collapse layout shifting, keep-with-next positioning, and parent block redirection for inline images |
9afe919 |
fix(pdf): fix Mermaid svg-to-img selector target and implement heading keep-with-next threshold check |
809affc |
fix(pdf): resolve MathJax double-scaling and await webfonts loading during PDF export |
9701ff7 |
fix(pdf): enforce 20% page safety zone, wait for images, and use physical font-size scaling for pre/math blocks |
2795efa |
fix(pdf): serialize rendered Mermaid SVGs to base64 images for physical scaling and gap-less page breaks |
7e6f91b |
fix(pdf): resolve text slicing, diagram page breaks, and layout gaps (issue #166) |
aac5803 |
fix(pdf): resolve oversized graphics page gaps by physically scaling SVGs/images and resetting transient styles in cascade |
c4b41bc |
fix(pdf): fix text slicing, table pagination and page break layout overlaps (fixes #166) |
d4143f9 |
fix(pdf): fix page breaks and element scaling for PDF export (fixes #166) |
8d0f0d5 |
fix(export): support script-disabled centering for HTML exports (fixes #152) |
5835d3e |
Merge pull request #165 from ThisIs-Developer/codex/fix-windows-desktop-build |
2b15f25 |
Fix Windows desktop build skeleton startup |
bd20ef9 |
feat(i18n): add 9 new UI languages and synchronize desktop resources |