# Importing a Word document as a blog post Admin → Pages → Blog posts → **Import from Word** (editors and up). Pick a `.docx`; the server turns it into a new blog post, **unpublished**, and opens it in the editor with a note of what came over. Check it, add the authors and a cover, then tick Published. ## What becomes what | In the document | In the post | | --- | --- | | The Title, or the first Heading 1 | The post's title (the file name if there's neither) | | A date line right under the title, eg. "Sep 28, 2026 · @Aidan" | The post's date (the rest of that line is dropped) | | Heading 1 and Heading 2 | Heading blocks | | Heading 3 and smaller | Subheading blocks | | Paragraphs | Paragraph blocks | | A run of bulleted or numbered paragraphs | One List block, one item each | | Tables | Table blocks: a row per line, cells split by `\|`, the first row the header | | Bold, italic, links (http, https, mailto) | `**bold**`, `*italic*`, `[text](url)`, in paragraphs, list items and table cells | A post with three headings or more gets **Show contents** turned on. The URL ID is the title as a slug, with `-2`, `-3` when it's taken. Not carried over: images and drawings (the note says how many; add them as Image blocks), text boxes, footnotes, comments, colours and fonts. Numbered lists come over as bulleted lists. The conversion is `server/src/docx.js`; the route is `server/src/routes/import.js`. ## PDFs A PDF has no headings, lists or tables inside it, only positioned text, so it can't be converted the same way. Open it in Word (or Google Docs) and save it as `.docx` first, or have it converted by hand. ## Table blocks Any page's content blocks can have one (Content blocks → Type → Table): ``` Platform | Monthly cost | Best for Zeffy | Free | Fee-free giving [Breeze](https://www.breezechms.com) | $72 | **Small churches** ``` A literal `|` inside a cell is written `\|`. On a phone a wide table scrolls sideways in its box. ## nginx nginx caps `/api/` bodies at 64k, so the upload needs its own block (in the site's `server` block, beside `/api/admin/media`; `nginx-dev` has it): ```nginx location = /api/admin/import/docx { proxy_pass http://127.0.0.1:3001; # the usual proxy_set_header lines proxy_read_timeout 60s; client_max_body_size 11m; } ```