From 7a4e09f97c9cdda20cf29f70f07b697b04876842 Mon Sep 17 00:00:00 2001 From: Heiko Joerg Schick Date: Sat, 21 Mar 2026 15:06:49 +0100 Subject: [PATCH] Update README to document Remove Unicode Formatting command Co-Authored-By: Claude Sonnet 4.6 --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d45a707..937d92b 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ An [Obsidian](https://obsidian.md) plugin that transforms selected text into Uni - **Unicode Bold** — converts letters and digits to sans-serif bold (𝗔𝗕𝗖 / 𝗮𝗯𝗰 / 𝟬𝟭𝟮) - **Unicode Italic** — converts letters to sans-serif italic (𝘈𝘉𝘊 / 𝘢𝘣𝘤) - **Unicode Bold Italic** — converts letters to sans-serif bold italic (𝘼𝘽𝘾 / 𝙖𝙗𝙘) +- **Remove Unicode Formatting** — converts any formatted Unicode characters back to plain ASCII - Non-mapped characters (punctuation, spaces, emoji, etc.) are passed through unchanged ## Usage @@ -17,8 +18,9 @@ An [Obsidian](https://obsidian.md) plugin that transforms selected text into Uni - **Format as Unicode Bold** - **Format as Unicode Italic** - **Format as Unicode Bold Italic** + - **Remove Unicode Formatting** — reverses any of the above back to plain ASCII -The selected text is replaced in place with its Unicode equivalent. +The selected text is replaced in place. ## Installation @@ -47,8 +49,8 @@ npm run lint # ESLint check | File | Purpose | |------|---------| | `src/unicode-maps.ts` | Builds character lookup maps from Unicode code point ranges | -| `src/formatter.ts` | `transformText(text, style)` — maps each character through the selected style map | -| `src/commands.ts` | Registers the three editor commands with the Obsidian plugin API | +| `src/formatter.ts` | `transformText(text, style)` and `cleanText(text)` — character mapping functions | +| `src/commands.ts` | Registers the four editor commands with the Obsidian plugin API | | `src/main.ts` | Plugin entry point — calls `registerCommands` on load | ### Unicode blocks used