Start with the destination editor

The right export format depends on what the receiving website can edit and render. Markdown is convenient for text-oriented repositories, while HTML describes rendered structure more directly. Neither automatically preserves every rich editor feature. Astro documents Markdown support, and Ghost provides a documented post creation path that illustrates a different destination model. For a hypothetical API company, repository-based tutorials may suit Markdown, while the marketing team may prefer editable CMS drafts. Decide who maintains the article after import before choosing a universal internal format.

Define the supported content vocabulary

List the elements an article needs: headings, paragraphs, links, lists, tables, code blocks, images, captions, and callouts. Then define how each survives export and import. Some Markdown features depend on extensions, while destination editors may normalize or restrict HTML. Keep the supported vocabulary intentionally small at first. The API company may need reliable code fences and numbered setup steps more than decorative columns. A clear compatibility table is more useful than promising perfect export and discovering later that a customer cannot edit half the article.

Keep metadata outside the body

Title, slug, summary, author, dates, canonical address, and image references should remain structured fields. Do not hide important values inside a random HTML comment or assume the first heading will always be the page title. For Markdown repositories, define and validate the chosen metadata convention. For HTML delivery, send a documented envelope around the body. This separation allows the same approved text to reach different templates without copying navigation or styles. It also makes missing metadata visible before a build or remote API call fails.

Treat conversion as a reviewed transformation

Converting between formats can change meaning if lists flatten, tables lose headers, or code characters are altered. Build a representative fixture and inspect the destination result whenever the converter changes. Preserve the original source alongside the transformed output where useful for debugging. Sanitize untrusted HTML through an appropriate process before rendering it; do not assume generated text is inherently safe. In the API company's tutorial, a visually subtle character change in a command can make the instructions unusable, so code rendering deserves direct verification.

Choose one authoritative editing location

Bidirectional editing is substantially harder than one-way export. If the article is updated in both a repository and a CMS, decide how conflicts are detected and resolved. A simpler initial policy is to export an approved version, then treat the destination as the owner until an explicit update is requested. Keep the source revision and exported revision identifiable. Judge the chosen format by maintenance effort and the reader experience, not by file extension alone. A format that produces a correct page but frustrates every subsequent edit may be the wrong choice for the publishing team.

Provide a preview of the exported file before download or delivery. Seeing the actual output lets an editor catch unsupported formatting before a developer spends time diagnosing what appears to be a destination rendering bug.

PUT IT TO WORK

Select the format your destination can maintain, and validate conversions with realistic article structures.

Sources & further reading

Official documentation informs this guide. Examples are illustrative, and product interfaces or limits can change.

THE WORKSPACE WE'RE BUILDING

From search signals to a useful first draft.

SERP.so is in development. Join the waitlist for a workspace that connects research, content review, and publishing.

Join early access ↗