Skip to content

Releases: Silvers12/onenote-md-exporter

v1.6.7

22 Jan 07:39

Choose a tag to compare

Remove pause between notebooks - no longer asks to press Enter between notebooks when errors occur

v1.6.6

21 Jan 16:28

Choose a tag to compare

Fix truncated file names ending with problematic characters (space, parenthesis, bracket, dash, dot)

v1.6.5

21 Jan 12:57

Choose a tag to compare

Fix for pages failing with error 0x8004200B

Bug Fix

  • Fixed export failure for pages where GetPageContent fails with error 0x8004200B
  • When this error occurs, the exporter now automatically retries with piAll mode instead of piBinaryDataFileType
  • This fixes export issues for certain pages that were previously skipped

Other

  • Added Debug setting documentation to appSettings.json

v1.6.4

21 Jan 12:14

Choose a tag to compare

Fallback for problematic pages

Improvements

  • Automatic fallback: When XML preprocessing fails with error 0x8004202B (corrupted page, sync issue, or problematic content), the export now automatically continues without preprocessing instead of failing
  • This allows problematic pages to still be exported, just without preprocessing features (tag conversion, unfolding sections, etc.)

Previous fix (v1.6.3)

  • Fix for pages with titles starting with dashes (----)

v1.6.3

21 Jan 10:57

Choose a tag to compare

Fix for pages with titles starting with dashes (----)

Bug Fix

  • Fixed OneNote API error 0x8004202B when exporting pages with titles starting with special characters like ----
  • The fix works by temporarily modifying problematic titles during page cloning in XML preprocessing, then restoring the original title

Technical Details

  • Added IsProblematicTitle() helper method to detect titles that cause OneNote API issues
  • Titles starting with - or containing only special characters are now handled gracefully
  • No need to disable DisablePageXmlPreProcessing anymore for these pages

v1.6.2 - Retry on errors

21 Jan 10:31

Choose a tag to compare

New Features

Automatic Retry on Errors

  • New --retry-on-errors CLI option
  • Automatically retries failed pages until success or no progress
  • Protection against infinite loops (max 10 iterations by default)

Section Error Tracking

  • Track export errors per section in manifest (HasExportErrors flag)
  • Sections with errors are forced to reload on next incremental export
  • Fixes bug where failed pages would disappear when section was [SKIP]

Configuration

New settings in appSettings.json:

  • RetryOnErrors: Enable automatic retry loop (default: false)
  • MaxRetryIterations: Maximum retry attempts (default: 10)

Usage

# Enable retry mode via CLI
OneNoteMdExporter.exe --incremental --retry-on-errors

# Or interactively: choose option [2] when prompted

Bug Fixes

  • Fix pages in error disappearing when parent section is marked [SKIP]
  • Failed pages are now properly retried on subsequent exports

v1.6.1

21 Jan 08:55

Choose a tag to compare

Changes

  • Export incremential
  • Upgrade to .NET 10
  • Update package references
  • Fix SingleFile publish configuration for external config files (appSettings.json, LICENSE, translations)

Download

Download OneNoteMdExporter-v1.6.1.zip and extract it.

Requirements: Windows 10+, OneNote 2013+, Word 2013+