笔呈 · NotePort
unlistedby WNGjeanm
Export your current note to Word with native heading styles, multilevel numbering, and paragraph formatting.
笔呈 · NotePort
Your notes, ready for Word.
Export the current Obsidian note to an editable Word document with native heading styles, multilevel numbering, and consistent paragraph formatting.
简体中文 · English
From a note to a document you can keep editing
Writing a plan in Obsidian is convenient. Sharing it with a colleague who works in Word should be convenient too. NotePort focuses on one workflow: export the note you are reading or editing, then continue working in Word.
- Real heading styles. Markdown H1–H6 map to Word Heading 1–6 and appear in the navigation pane.
- Real multilevel numbering. Optionally number headings as
1,1.1,1.1.1, linked to the heading styles. Numbers are not pasted into title text. - Consistent body paragraphs. Choose no first-line indent or a two-character indent. Change the body style in Word to update the document.
- Pictures and diagrams. Embed local pictures, convert SVG/WebP to PNG, and render Mermaid diagrams as static PNG pictures in the document.
- Local export. No account, cloud conversion, Pandoc installation, or installed Word is needed to generate a file.
- English and Simplified Chinese. Follow Obsidian's language or choose your interface language explicitly.
Quick start
- Open a Markdown note.
- Open the command palette and run NotePort: Export current note to Word, or use the file-output ribbon icon / current note's menu.
- Choose heading numbering and body indentation, then click Export and choose location.
- Choose a
.docxdestination. After export, open the file or reveal it in your file manager.
The note's filename becomes the suggested output filename. No extra document title is inserted. Frontmatter is excluded. The active editor's current text is captured when the export dialog opens; the source note is never rewritten by the exporter.
What exports
| Content | Result |
|---|---|
| Headings H1–H6 | Native Word Heading 1–6; optional decimal outline numbering |
| Body paragraphs | Normal style; optional two-character first-line indent |
| Bold / italic / strikethrough / inline code | Editable text formatting |
| Ordered / unordered / nested lists | Word list numbering; ordered starts retained, up to 9 levels |
| Markdown tables | Editable Word tables with repeating header rows |
| Local PNG / JPEG / GIF / BMP | Embedded, proportionally reduced to fit the page |
| Local SVG / WebP | Converted to PNG locally, then embedded |
Fenced mermaid blocks | Rendered as PNG, in source order |
| Image size hints | ![[image.png|300]], ![[image.png|300x200]], ; proportions preserved |
![[image.png]] and Markdown images | Local vault images resolved relative to the note |
| HTTP(S) / email links | Clickable links |
[[note|alias]] | Visible alias as plain text |
| Blockquotes / code blocks | Indented quote / monospaced code; no syntax highlighting |
| Task lists | Static [x] / [ ] text with an export note |
Explicit limits
NotePort exports one current note on desktop. It does not merge notes, import Word templates, copy your personal Normal.dotm, or reproduce Obsidian themes. It writes its own consistent styles under Word's standard style IDs.
Formulas, embedded notes, footnotes, callouts, HTML, and plugin-generated views are not fully rendered. Where detected, source or visible text is retained with an export note. Callouts become ordinary quotes. Remote and missing images become text placeholders with an export note. Relative note links remain text. Custom HTML layouts, and very wide tables are not reproduced faithfully. Extremely deep lists are flattened to Word's nine-level limit. Formula detection is heuristic.
Image-only paragraphs use a separate, unindented image style. Images in table cells and lists are fitted to the available width. GIFs are embedded as GIF data; animation is not promised. Existing heading numbers are preserved; enabling automatic numbering can create duplicate prefixes and triggers a warning for common numeric patterns. Avoid skipped heading levels when using automatic numbering.
Installation
NotePort is distributed through GitHub Releases. It is not yet listed in the Obsidian community directory.
- Download
noteport-0.2.0.zipfrom the latest release. - Extract the
noteportfolder into<your-vault>/.obsidian/plugins/. - Confirm that
main.js,manifest.json, andstyles.cssare directly inside.obsidian/plugins/noteport/. - Reload Obsidian and enable 笔呈 · NotePort under Settings → Community plugins. Review Obsidian's trust prompt yourself if shown.
To upgrade, replace those three plugin files with the new release files. Keep your existing data.json settings file. GitHub's “Source code” archive is for development and is not an installable build.
Settings
| Setting | Default | Meaning |
|---|---|---|
| Language | Follow Obsidian | Simplified Chinese for zh locales; English otherwise; manual override available |
| Automatic heading numbering | Off | Bind Heading 1–6 to 1 / 1.1 / 1.1.1… |
| Body first-line indent | 2 characters | Only ordinary body paragraphs are indented |
The export dialog remembers numbering and indentation after a successful save. Interface language does not change document content or typography.
Document defaults
A4 portrait, 1-inch margins, 11 pt body text, Calibri for Latin text and SimSun for Chinese; SimHei for Chinese headings. Body line spacing is 1.5 with 6 pt after paragraphs. Headings use 18 / 15 / 13 / 12 / 11 / 11 pt. Fonts are not embedded and may be substituted on other computers. Headings, lists, quotes, code, and table text explicitly reset the body's first-line indent.
Sample and verification
See the image and Mermaid guide for supported syntax, error handling, and size limits. Mermaid rendering is fully local and independent of your Obsidian theme.
The sample note describes a fictional community reading-space improvement plan. It includes Chinese and English text, three heading levels, a table, nested lists, links, a quote, code, and a local image.
- Plain headings
- Automatically numbered headings
- Mixed image/Mermaid Markdown example and Word result
- Test report and compatibility scope
Screenshot slots are reserved for the maintainer to add real captures. See the screenshot guide for filenames and replacement locations. The sample contains no personal notes.
How it works
NotePort captures the active note, parses Markdown into tokens, maps those tokens to editable DOCX elements, binds styles and numbering, embeds vault images and rendered Mermaid PNGs, then opens the native save dialog. It does not launch Word for conversion.
Read the architecture for the module map, numbering implementation, data boundaries, and limitations. See development for building and testing.
FAQ
Why not copy the visual appearance of my Obsidian theme?
The output uses document styles so Word can navigate headings and edit paragraphs consistently. Theme CSS is not a Word template.
Does “default Word styles” mean my computer's personal defaults?
No. NotePort supplies fixed formatting under standard Word style IDs. It does not read local Word templates.
Can I change numbering or indentation in Word?
Yes. Heading numbering uses a Word multilevel list associated with Heading 1–6; body indentation lives in Normal. Changes to those styles can be made in Word.
Does it support WPS, Pages, or Google Docs?
They may open DOCX, but this release's compatibility validation targets Microsoft Word on Windows. Other editors and operating systems require separate testing.
Is anything uploaded?
The export path makes no network requests. Markdown and images are read locally and the resulting file is written to your selected location. Standard links in the document can be opened later by the reader.
Feedback and credits
Please include plugin/Obsidian/Word versions, the expected result, and a minimal example when reporting a problem. Remove confidential content before sharing a note.
Built with Obsidian API, marked, docx, JSZip, image-size, and Mermaid. See third-party notices. Documentation organization was informed by DOCX Exporter and Obsidian Pandoc; NotePort's implementation, copy, and sample were created for this project.
Released under the MIT License. Not affiliated with Obsidian or Microsoft.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.