From d3771f441f73875637b73afe512e343b5360eb10 Mon Sep 17 00:00:00 2001 From: Roger Deng <13251150+rogerdigital@users.noreply.github.com> Date: Wed, 23 Sep 2026 00:05:15 +0800 Subject: [PATCH] chore: release 1.0.1 Bump version to 1.0.1 (package.json, package-lock.json, manifest.json, versions.json) and add release notes. Ships the markdown backslash escape fix from #92. --- docs/releases/1.0.1/release-notes.md | 14 ++++++++++++++ manifest.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- versions.json | 3 ++- 5 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 docs/releases/1.0.1/release-notes.md diff --git a/docs/releases/1.0.1/release-notes.md b/docs/releases/1.0.1/release-notes.md new file mode 100644 index 0000000..e20d3a4 --- /dev/null +++ b/docs/releases/1.0.1/release-notes.md @@ -0,0 +1,14 @@ +# Document Exporter 1.0.1 + +## Markdown backslash escapes now export correctly + +Fixed a bug where escaped punctuation (`\*`, `\|`, `\[`, …) was not recognized during export (#91). + +- **EPUB books with escaped asterisks open again.** In tables, two `\*` in the same row used to pair into an `` crossing cell boundaries, producing invalid XHTML that Apple Books refuses to open (`Opening and ending tag mismatch`). Escaped asterisks now render as the literal `*` character everywhere — no spurious italics, no leaked backslash. +- **Escaped pipes stay inside the table cell.** `a \| b` was previously split into two cells (`a \` and `b`); it now stays one cell containing `a | b`. +- **Escaped brackets don't become links.** `\[not a link\](url)` now exports as literal text instead of a rendered link. +- **All escapes render as the literal character.** `\_`, `\\`, `\#` and friends no longer keep their backslash in the exported document. +- **Word exports fixed too.** The DOCX converter had the same emphasis-pairing and pipe-splitting behavior and is fixed in this release. PDF and HTML use Obsidian's own renderer and were only affected in rare fallback cases. +- **Bare multiplication stays plain.** `3 * 4 * 5` no longer renders `4` in italics — emphasis now follows CommonMark whitespace rules. + +Escapes inside code blocks and inline code are untouched. diff --git a/manifest.json b/manifest.json index eb2212e..2ac51fd 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "document-exporter", "name": "Document Exporter", - "version": "1.0.0", + "version": "1.0.1", "minAppVersion": "1.4.0", "description": "Export notes, folders, and selected Markdown files to PDF, Word, EPUB, Markdown bundles, and HTML.", "author": "Roger Deng", diff --git a/package-lock.json b/package-lock.json index c662fa8..8ad9813 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "document-exporter", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "document-exporter", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "devDependencies": { "@types/jsdom": "^30.0.0", diff --git a/package.json b/package.json index 3aad906..e22b036 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "document-exporter", - "version": "1.0.0", + "version": "1.0.1", "description": "Export notes, folders, and selected Markdown files to PDF, Word, EPUB, Markdown bundles, and HTML.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index a1501eb..a5d55c3 100644 --- a/versions.json +++ b/versions.json @@ -22,5 +22,6 @@ "0.7.2": "1.4.0", "0.7.3": "1.4.0", "0.7.4": "1.4.0", - "1.0.0": "1.4.0" + "1.0.0": "1.4.0", + "1.0.1": "1.4.0" } \ No newline at end of file