---
title: "The Markdown copy is incomplete or badly formed"
description: "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."
url: https://ursy.com/issues/markdown-copy-poor/
updated: 2026-11-30T12:53:03+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/markdown-copy-poor/
---

# 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.

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.

## Why it matters {#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](https://ursy.com/wiki/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 {#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 the problem looks like {#what-the-problem-looks-like}

```
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.

### What it looks like fixed {#what-it-looks-like-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 {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
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/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#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 {#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) {#your-cdn-for-example-cloudflare}

If your [CDN](https://ursy.com/wiki/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 {#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 {#official-source}

[llmstxt.org: The /llms.txt file](https://llmstxt.org/)

## Questions {#questions}

### Why do relative links matter in a Markdown copy? {#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? {#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.

---

**Cite this page:** The Markdown copy is incomplete or badly formed. URSY.com. Updated 30 November 2026. https://ursy.com/issues/markdown-copy-poor/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[The Markdown copy is incomplete or badly formed](https://ursy.com/issues/markdown-copy-poor/), URSY.com`. One section: add its id, for example https://ursy.com/issues/markdown-copy-poor/#section-id (every heading above has one).

Section links: https://ursy.com/citations/21/#p-5678 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/markdown-copy-poor/
- As JSON: https://ursy.com/issues/markdown-copy-poor/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
