Feature · Built for Mac

Export to PDF, DOCX & HTML

Publish and share your notes in universal formats without layout breaks.

Shipped in Mac AppProven in codebase: main/publish/export-pdf.ts, export-docx.ts (as of 2026-10-03)

What this helps you achieve

  • Export publication-quality PDF documents with customizable typography and margins
  • Generate clean Microsoft Word (.docx) files preserving tables and callouts
  • Produce self-contained HTML files with embedded styling ready for web sharing

Plain Markdown is the ultimate format for personal longevity, writing velocity, and frictionless editing. However, when delivering research briefs to external clients, submitting formal proposals to corporate leadership, or sharing meeting takeaways with cross-functional partners, you often need to deliver universal, professionally formatted documents.

Traditional Markdown editors force users to copy and paste text into separate word processors, where tables collapse into broken pipe characters, callout blocks lose their visual accents, and code snippets lose syntax formatting.

Oyma bridges the gap between sovereign plain text authoring and professional document publishing. Proven in src/main/publish/export-pdf.ts and export-docx.ts, Oyma provides native on-device export to publication-ready PDF, Microsoft Word (.docx), and standalone HTML.

Publication-grade PDF generation on macOS

Generating a PDF in Oyma produces a refined document suitable for client presentations and formal executive reports:

  1. Native paged media rendering: Instead of naive screen captures, Oyma uses CSS Paged Media standards (@page), ensuring clean page breaks that never slice headers or split table rows awkwardly across page seams.
  2. Customizable typography and margins: Choose between clean editorial typefaces, adjust line spacing, tune body margins, and select standard paper sizes (US Letter or A4).
  3. Running headers and page numbers: Automatically insert running headers displaying the document title alongside dynamic “Page X of Y” counters in the bottom footer.
  4. Syntax highlighting for code: Fenced code blocks preserve full syntax highlighting, complete with subtle background containers and clean monospaced font stacks.

Because rendering occurs natively within the macOS application process, you avoid the security hazards of uploading confidential documents to third-party cloud conversion APIs.

Native Microsoft Word (.docx) export

In corporate enterprise environments, Microsoft Word remains the standard lingua franca for collaborative review, legal markup, and corporate document archiving.

Oyma‘s Word export engine converts Markdown semantics directly into native OpenXML document structures:

  • True Word tables: Markdown tables authored in our table editor convert into authentic Word table objects with zebra striping, bold header rows, and proper cell borders.
  • Styled callout boxes: Callouts authored with > [!NOTE] or > [!WARNING] syntax in callouts & highlights transform into shaded quote callout panels with left accent borders.
  • Native outline heading levels: Markdown #, ##, and ### headers map directly to Word Heading 1, Heading 2, and Heading 3 paragraph styles, generating a clickable navigation pane inside Word.
  • Footnote preservation: Markdown footnotes convert into authentic Word bottom-of-page footnotes with linked superscript references.

Colleagues receiving your .docx files can edit text, leave tracked changes, and adjust corporate themes without ever knowing the document originated as plain Markdown.

Self-contained standalone HTML export

When sharing documentation across engineering teams, posting to an internal intranet, or distributing project runbooks, standalone HTML is the most accessible medium:

  • Zero external dependencies: Stylesheets, fonts, and icon glyphs are embedded directly into a single .html file.
  • Embedded base64 assets: Images stored in your local vault attachments directory are optionally encoded as base64 data URIs, allowing you to email a single file that renders perfectly on any computer or mobile browser.
  • Interactive features intact: Collapsible callouts and copy-to-clipboard buttons on code fences remain fully functional in the exported HTML document.

Custom CSS styling and branded templates

For consulting agencies, corporate design teams, and independent professionals with distinct visual branding requirements, Oyma supports customizable export themes:

  • Custom CSS overrides: Inject custom print stylesheets to define corporate color palettes, specify brand typography, and apply proprietary logo watermarks.
  • Header and footer tokens: Dynamically populate author names, project tags, copyright notices, and export timestamps using standard template variables.
  • Consistent cross-format alignment: Visual properties configured for PDF export translate faithfully to Microsoft Word styles and HTML containers, ensuring brand consistency across all distributed deliverables.
  • Batch folder compilation: Need to export an entire project folder for a client milestone? Select multiple notes in the sidebar to compile and export a unified, paginated PDF report with an automatically generated table of contents.

Effortless export from meeting records

Export capabilities become especially valuable when combined with automated meeting documentation. When you capture a team sync using zero-bot meeting recording and synthesize outcomes with local AI, Oyma automatically organizes action items and decision matrices.

With two keystrokes, you can export the meeting record to a polished PDF or .docx file and email it to clients or executive stakeholders minutes after the call ends.

Write in plain text, own your files forever, and publish universal deliverables with ease in Oyma.

How are tables and callouts formatted when exported to Microsoft Word (.docx)?

Tables export as native Word table grids, and callouts convert into styled shaded callout boxes, preserving full visual hierarchy.

Does exporting to PDF require an internet connection or cloud rendering service?

No. PDF rendering executes locally on your Mac using native print-to-PDF engines with custom CSS paged media rules.

Can I customize page numbering, running headers, and footers in exported PDFs?

Yes. The PDF export dialog provides controls for page numbers, running headers, document date stamps, and custom page margins.

Are embedded images included inside exported HTML files?

Yes. Exported HTML files can embed local vault images as base64 data URIs, creating a single, fully portable file you can email or host anywhere.

Your notes, in plain Markdown.

Free during the private beta. Apple silicon Macs, macOS 14 or later.

One email when your invite is ready. No newsletter.