Skip to content

Onenote import options to skip attachments, images, and handwritten notes#551

Open
philou wants to merge 3 commits into
obsidianmd:masterfrom
philou:onenote-import-skip-attachments
Open

Onenote import options to skip attachments, images, and handwritten notes#551
philou wants to merge 3 commits into
obsidianmd:masterfrom
philou:onenote-import-skip-attachments

Conversation

@philou
Copy link
Copy Markdown

@philou philou commented May 7, 2026

  • Import handwritten notes: opt out of converting InkML ink strokes to SVG attachments
  • Import embedded images: opt out of downloading and saving inline images as attachments
  • Import attachments: a glob-pattern whitelist (e.g. *.pdf, *.png) replacing the "import incompatible attachments" toggle. Defaults to all Obsidian-compatible types. Shows an inline warning for unsupported patterns

All defaults preserve the current behavior

philou added 3 commits May 7, 2026 15:29
to speed up imports when handwritten notes are not so important
- add a UI option to import handwritten notes
- option set to true by default (current behavior)
- skip the call to OneNoteAPI if handwritten notes are skipped
…f "import incompatible attachments"

to allow greater flexibility on attachment import, also to speed up import.
- extract whitelist code to attachment-whitelist.ts, with unit tests
- replace toggle UI by a text whitelist of extensions, in a simplified glob format
to speed up imports when embedded images are not so important
- add a UI option to import embedded images
- option set to true by default (current behavior)
- skip the calls to OneNoteAPI if embedded images are skipped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant