Skip to the content
Start free

The Markdown copy is incomplete or badly formed

The Markdown copy misses part of the page, has no headings or links, uses relative links or is served in a way caches and tools can mix up.

Low priority AI answers and citations

Why it matters #

A Markdown copy should carry the same main text as the page, start with a # title that matches it, mark sections with headings and keep the links. If it holds only part of the words, AI tools that read it miss the rest. If it is plain text, they cannot see where sections start or where links go.

How it is served matters too. text/markdown is the registered type for Markdown (RFC 7763). If one address answers with HTML or Markdown depending on what the visitor asks for, the answer needs Vary: Accept, or a cache may hand the Markdown to people or the HTML to AI tools. Relative links break once the copy is pasted into an AI chat.

How to fix it #

Make the copy from the same source as the page, so every section is in both. Start it with # and the page title, write headings with #, ## and ###, and links as [words](https://full-address). Serve it as text/markdown; charset=utf-8, and send Vary: Accept if one address serves both versions.

Test it with the Markdown Version Checker.

  1. Compare the copy with the page, section by section.
  2. Add the missing text, headings and full links.
  3. Fix the content type and the Vary header.

What it looks like, and fixed #

The problem
HTTP/1.1 200 OK
Content-Type: text/plain

Size guide
Measure your foot from heel to toe. See our chart.
[chart](../chart/)

No # title, no headings, part of the text missing, a relative link and no Markdown content type.

Fixed
HTTP/1.1 200 OK
Content-Type: text/markdown; charset=utf-8
Vary: Accept

# Size guide

## How to measure your feet
Measure your foot from heel to toe, standing up, in the evening.
See the [size chart](https://www.example.com/size-guide/chart/).

A title matching the page, headings, the full text and full links. Vary: Accept is needed when one address serves both HTML and Markdown.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
My website [your website address] runs on [your platform, e.g. WordPress behind a CDN]. A check says the Markdown copy of [the page address] is incomplete or badly formed. First fetch the HTML page and its Markdown copy, with their headers (or ask me to paste both), and compare them section by section. Tell me in plain words what the copy misses or gets wrong, including the content type and Vary header. Then give me a corrected copy that starts with # and the page title, keeps every section of the main text with #, ## and ### headings, and writes links as [words](full https address). Tell me how to serve it as text/markdown; charset=utf-8, with Vary: Accept if needed, and how to make copies come from the same source as the page. Rules: back up first, do not change the HTML page or its address, and add no facts. Finally, tell me to re-check with the URSY.com Markdown Version Checker at ursy.com/markdown-version-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

If a plugin makes the copies, check it uses the full post content and writes headings and full links. Clear page caches after changing how copies are served.

Your server or hosting

Serve the copy as text/markdown; charset=utf-8. If one address answers both ways depending on the Accept header, add Vary: Accept.

Your CDN (for example Cloudflare)

If your CDN caches pages that change with the Accept header, make sure it respects Vary: Accept, or serve the Markdown at its own address.

Check it is fixed #

Run the URSY.com Markdown Version Checker (/markdown-version-checker/) again. The copy should match the page, with a title, headings, full links and a text/markdown content type.

Official source #

llmstxt.org: The /llms.txt file

Questions #

Why do relative links matter in a Markdown copy?

Once the text is pasted into an AI chat, a link such as ../chart/ has no page to start from, so it leads nowhere.

Do I need Vary: Accept?

Only if the same address answers with HTML or Markdown depending on what the visitor asks for. A copy at its own address does not need it.

More problems in AI answers and citations

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com