From c2b77e110f50b0c01e8f13371ab22bc069811d2a Mon Sep 17 00:00:00 2001 From: Amit Haridas Date: Sun, 14 Dec 2025 10:27:36 +0530 Subject: [PATCH] =?UTF-8?q?Release=20v2.1.0:=20UI=20Enhancements=20&=20Com?= =?UTF-8?q?prehensive=20Format=20Support=20=F0=9F=8E=A8=20UI/UX=20Improvem?= =?UTF-8?q?ents:=20-=20Subtle=20&=20small=20preview=20popout=20button=20wi?= =?UTF-8?q?th=20minimalist=20design=20-=20Simplified=20table=20headers=20w?= =?UTF-8?q?ith=20light=20gray=20background=20-=20Better=20readability=20an?= =?UTF-8?q?d=20cleaner=20appearance=20=F0=9F=93=A5=20Enhanced=20Import:=20?= =?UTF-8?q?-=20Support=20for=2030+=20formats:=20RST,=20Textile,=20MediaWik?= =?UTF-8?q?i,=20Org-mode,=20AsciiDoc,=20CSV,=20JSON,=20and=20more=20-=20Fo?= =?UTF-8?q?rmat-specific=20conversion=20optimizations=20-=20Improved=20err?= =?UTF-8?q?or=20messages=20=F0=9F=8E=A8=20Exhaustive=20ASCII=20Art=20Gener?= =?UTF-8?q?ator:=20-=205=20text=20banner=20styles:=20Standard,=20Banner,?= =?UTF-8?q?=20Block,=20Bubble,=20Digital=20-=2019=20professional=20templat?= =?UTF-8?q?es=20organized=20in=204=20categories=20-=20Flowcharts,=20sequen?= =?UTF-8?q?ce=20diagrams,=20network=20diagrams,=20hierarchy=20trees=20-=20?= =?UTF-8?q?Note=20boxes,=20warning=20boxes,=20decorative=20elements=20?= =?UTF-8?q?=F0=9F=93=9D=20Documentation:=20-=20Added=20UPDATES.md=20with?= =?UTF-8?q?=20comprehensive=20changelog=20-=20Updated=20version=20to=202.1?= =?UTF-8?q?.0=20in=20all=20files=20=F0=9F=A4=96=20Generated=20with=20Claud?= =?UTF-8?q?e=20Code=20(https://claude.com/claude-code)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UPDATES.md | 166 +++++++++++++++++++++++++++++++ package.json | 2 +- src/index.html | 36 ++++++- src/main.js | 42 ++++++-- src/renderer.js | 220 ++++++++++++++++++++++++++++++++++++++---- src/styles-modern.css | 4 +- src/styles.css | 15 +-- 7 files changed, 443 insertions(+), 42 deletions(-) create mode 100644 UPDATES.md diff --git a/UPDATES.md b/UPDATES.md new file mode 100644 index 0000000..891bd71 --- /dev/null +++ b/UPDATES.md @@ -0,0 +1,166 @@ +# PanConverter - Updates & Changelog + +## Version 2.1.0 (December 14, 2025) + +### ๐ŸŽจ UI/UX Improvements + +#### Subtle & Small Preview Popout Button +- Redesigned popout button with minimalist aesthetic +- Removed border for cleaner appearance +- Reduced size: 11px font, 2pxร—6px padding (previously 14px font, 4pxร—8px padding) +- Added opacity transition: 50% when idle, 100% on hover +- Subtle background effect on hover instead of heavy border styling +- **File**: `src/styles.css:195-211` + +#### Simplified Table Headers in Preview +- Removed gradient background from table headers in modern theme +- Changed from `var(--primary-gradient)` (purple gradient) to simple light gray (#f0f0f0) +- Updated text color to dark (#333333) for better readability +- Clean, professional appearance matching standard themes +- **File**: `src/styles-modern.css:445-449` + +### ๐Ÿ“ฅ Enhanced Import Capabilities + +#### Comprehensive Format-to-Markdown Conversion +Dramatically expanded the "Import Document" feature to support 30+ file formats: + +**Supported Formats:** +- **Documents**: DOCX, ODT, RTF, HTML, HTM, TEX, EPUB, PDF, TXT +- **Presentations**: PPTX, ODP +- **Markup Languages**: RST, Textile, MediaWiki, Org-mode, AsciiDoc, TWiki, OPML +- **E-book Formats**: EPUB, FB2 +- **LaTeX Formats**: TEX, LATEX, LTX +- **Web Formats**: HTML, HTM, XHTML +- **Wiki Formats**: MediaWiki, DokuWiki, TikiWiki, TWiki +- **Data Formats**: CSV, TSV, JSON + +**Format-Specific Optimizations:** +- PDF text extraction with XeLaTeX engine +- CSV/TSV automatic table conversion +- JSON structure handling +- Improved error messages with format hints + +**Access**: File โ†’ Import Document (Ctrl+I) +**File**: `src/main.js:1933-1994` + +### ๐ŸŽจ Exhaustive ASCII Art Generator + +#### 5 New Text Banner Styles +Complete alphabet (A-Z) and numbers (0-9) support for all styles: + +1. **Standard** - Classic ASCII art with slashes and underscores +2. **Banner** - Large format using # characters (7-line height) +3. **Block** - Modern Unicode block characters (โ–ˆ โ•” โ•— โ• โ•‘) +4. **Bubble** - Circular bubble letters (โ’ถ โ’ท โ’ธ) +5. **Digital** - Digital display style (โ–„ โ–€ โ– โ–Œ) + +**File**: `src/renderer.js:3397-3537` + +#### 19 Professional ASCII Templates +Organized into 4 categories with expanded options: + +**Arrows & Flow (4 templates):** +- Arrow Right - Horizontal flow indicators +- Arrow Down - Vertical flow indicators +- Decision - Binary decision diagrams +- Process Flow - Multi-step process visualization + +**Diagrams & Charts (6 templates):** +- Flowchart - Advanced flowchart with decision branches and loops +- Sequence - Sequence diagrams for User-System-Database interactions +- Network - Server-client network topology +- Hierarchy - Organizational tree structures +- Timeline - Milestone visualization with dates +- Table Simple - Basic table template with borders + +**Boxes & Containers (4 templates):** +- Header - Section header with decorative borders +- Note Box - Important notes with rounded corners (โ”โ”โ”โ”“) +- Warning Box - Warning messages with bold borders (โ•”โ•โ•โ•โ•—) +- Info Box - Information boxes with subtle styling (โ•ญโ”€โ”€โ”€โ•ฎ) + +**Decorative Elements (6 templates):** +- Divider - Horizontal section separator (โ•โ•โ•) +- Separator Fancy - Elegant rounded divider +- Brackets - Japanese-style brackets ใ€ ใ€‘ +- Banner Stars - Star-bordered banners +- Checklist - Task lists with โœ“ checkmarks +- Progress Bar - Visual progress indicators + +**Features:** +- All ASCII art automatically wrapped in code blocks for proper rendering +- Preserved formatting in markdown preview and all export formats +- Categorized template selection interface +- Real-time preview generation + +**Access**: Tools โ†’ ASCII Art Generator +**Files**: `src/renderer.js:3513-3671`, `src/index.html:427-466` + +### ๐Ÿ“ Technical Improvements + +- Enhanced ASCII art detection in Word template exporter +- Improved monospace font rendering across all export formats +- Better code block preservation in PDF and Word exports +- Optimized template categorization and organization + +### ๐Ÿ”ง Files Modified + +- `src/styles.css` - Preview popout button styling +- `src/styles-modern.css` - Table header simplification +- `src/main.js` - Enhanced import function, version update +- `src/renderer.js` - ASCII art generator enhancements +- `src/index.html` - ASCII template UI organization +- `package.json` - Version bump to 2.1.0 + +--- + +## Version 2.0.0 (Previous Release) + +### Major Features +- Export Profiles - Save and reuse export configurations +- Mermaid.js diagram support +- Command Palette (Ctrl+Shift+P) +- GitHub Light/Dark preview themes +- Table Generator +- ASCII Art Generator (basic) +- Resizable Preview Pane +- Pop-out Preview Window +- Configurable page sizes (A3-A5, B4-B5, Letter, Legal, Tabloid, Custom) +- Custom Headers & Footers for exports +- Enhanced PDF and Word export with templates +- 22 beautiful themes + +### Core Capabilities +- Cross-platform markdown editor with live preview +- Universal document conversion (30+ formats) +- PDF Editor (merge, split, compress, rotate, watermark, encrypt) +- Batch file conversion +- File association support +- Advanced export options +- Multi-tab interface + +--- + +## Installation & Usage + +### Prerequisites +- **Pandoc** - Required for document conversion +- **Optional**: LibreOffice, ImageMagick, FFmpeg for universal converter + +### Download +Get the latest release from: https://github.com/amitwh/pan-converter/releases + +### Supported Platforms +- Windows (x64) +- Linux (AppImage, .deb, .snap) +- macOS (planned) + +--- + +## Contributing + +Contributions are welcome! Please see [CLAUDE.md](CLAUDE.md) for development guidelines. + +**Author**: Amit Haridas (amit.wh@gmail.com) +**License**: MIT +**Repository**: https://github.com/amitwh/pan-converter diff --git a/package.json b/package.json index c7b51b8..232aef0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pan-converter", - "version": "2.0.0", + "version": "2.1.0", "description": "Cross-platform Markdown editor and converter using Pandoc", "main": "src/main.js", "scripts": { diff --git a/src/index.html b/src/index.html index 858b961..81a4a08 100644 --- a/src/index.html +++ b/src/index.html @@ -427,14 +427,40 @@