Skip to content

Releases: hubo1989/vscode-markdown-editor

Version 1.0.1 - Export Feature Release

Choose a tag to compare

@hubo1989 hubo1989 released this 04 Nov 10:30

🎉 Markdown Editor v1.0.1 - Export Feature Release

📤 Major New Feature: Export Functionality

This release adds comprehensive export capabilities to the Markdown Editor, supporting PDF, Word, and HTML formats with complete formatting preservation.

✨ Export Features

🖨️ PDF Export

  • Export to PDF format through browser print functionality
  • Complete table border and styling support
  • Mathematical formulas rendered with KaTeX
  • Charts (Mermaid, PlantUML, ECharts) properly displayed
  • Professional print styles and layout

📄 Word Export

  • Generate Word documents (.doc) with embedded images
  • Base64 image embedding for offline compatibility
  • Complete table formatting with borders
  • Compatible with Microsoft Word 2007+
  • Full document structure preservation

🌐 HTML Export

  • Standalone HTML files with all dependencies
  • Interactive ECharts charts maintained
  • Dynamic mathematical formula rendering
  • Responsive design for multiple screen sizes
  • Complete CSS styling and scripts included

🎯 Toolbar Enhancement

  • New Export Button 📤: Added next to the link button in the toolbar
  • Dropdown Menu: Choose between PDF, Word, and HTML export options
  • Theme-Adaptive Icon: Automatically matches VS Code theme colors
  • Smart Export Processing: Asynchronous handling for large documents

🔧 Export Capabilities

Table Support ✅

  • Complete table borders and styling in all formats
  • Header row formatting and alternating row colors
  • Proper cell alignment and spacing
  • Responsive table design in HTML

Chart Support ✅

  • Mermaid Diagrams: Flowcharts, sequence diagrams, and more
  • PlantUML Charts: UML diagrams with server-side rendering
  • ECharts Visualizations: Interactive data charts and graphs
  • All charts properly rendered in exported documents

Image Support ✅

  • Network images automatically embedded in Word documents
  • Local images preserved with relative paths
  • Image scaling and responsive design
  • Error handling for missing or broken images

Mathematical Formulas ✅

  • KaTeX-rendered mathematical expressions
  • Both inline ($E=mc^2$) and block ($$E=mc^2$$) formulas
  • Proper formula alignment and sizing
  • Mathematical notation preserved in all formats

📚 Documentation Improvements

  • Export Guide: Comprehensive documentation for all export features
  • Test Document: Complete test file with all supported features
  • Updated README: Enhanced documentation in both English and Chinese
  • Usage Examples: Clear examples for each export format

🎮 How to Use

  1. Open any Markdown document in Markdown Editor
  2. Click the new export button 📤 in the toolbar (next to link button)
  3. Choose your preferred export format:
    • PDF: Opens in new tab → Print → Save as PDF
    • Word: Automatically downloads .doc file
    • HTML: Automatically downloads .html file

🐛 Technical Improvements

  • Asynchronous Processing: Non-blocking export operations
  • Error Handling: Comprehensive error messages and recovery
  • Memory Management: Efficient processing of large documents
  • Cross-browser Compatibility: Works with Chrome, Firefox, Safari, Edge

🔒 Security & Privacy

  • All export processing happens locally in your browser
  • No data uploaded to external servers (except for chart rendering)
  • Image processing is done securely with proper error handling
  • Generated files are safe and contain no malicious code

📦 Installation

  1. Download the VSIX file from this release
  2. In VS Code: Extensions → Install from VSIX...
  3. Select the downloaded `markdown-editor-1.0.0.vsix` file
  4. Restart VS Code and enjoy the new export features!

🌐 Documentation

🙏 Acknowledgments

Special thanks to the community for the valuable feedback and suggestions that helped shape this export feature release!


🎉 Version 1.0.1 brings professional-grade export capabilities to your Markdown workflow, making it easier than ever to share your documents in any format you need!

Thank you for using Markdown Editor! 🙏