---
title: "Served as text/markdown and Still Partial: Fixing a Half Score on Markdown Negotiation"
slug: markdown-negotiation-partial-score
published: 2026-12-01T13:17:04.977702+00:00
updated: 2026-12-01T13:17:04.977702+00:00
author: "M Asif Rahman"
author_url: https://ar.bd
category: "AI Readiness"
tags: check:C1, Markdown, content negotiation, text/markdown, scan report
description: "Served text/markdown and AIScan still says partial on C1? The body needs 3 Markdown structure lines in its first 2,000 characters. The rule, the data, the fix."
url: https://aiscan.site/blog/markdown-negotiation-partial-score
---

Your server answers `Accept: text/markdown` with a 200 and a `text/markdown` content type, and AIScan still gives check C1 a partial: 4 of 8 points. The label is right; the body is the problem. AIScan reads the first 2,000 characters of what you sent and needs at least three lines of visible Markdown structure in them. Six of the eight sites holding this exact result in our scan corpus on 1 December 2026 had one or two.

This guide shows the rule, the four shapes of body that miss it, and the fix for each. Three lines of structure are the whole gap between 4 and 8 points, and the fix is a change to what you send, not to how the server negotiates.

## TL;DR

| Question | Short answer | Source |
|---|---|---|
| Why partial when the type is right? | The body did not read as Markdown: fewer than 3 structure lines in its first 2,000 characters | AIScan's C1 rule, verified on 1 Dec 2026 |
| What counts as a structure line? | A `#` heading, a `-` or `*` list item, or a line holding an inline `[text](url)` link | same |
| What does not count? | Numbered lists, `+` bullets, blockquotes, tables, bold, italics, front matter | same |
| How common is it? | 9 partials among 895 sites; 294 pass, 592 fail | AIScan scan corpus, 1 Dec 2026 |
| Fastest fix | Put the page's sections or navigation as a `-` link list near the top | below |

C1 is the Markdown content negotiation check in the [content dimension](/docs/checks/content). The full setup for serving Markdown on each stack is in the [Markdown hub](/blog/markdown-for-ai-agents); this page covers only the half score.

![AIScan fix guide cover: served as text/markdown and still partial on check C1](https://db.aiscan.site/storage/v1/object/public/blog-covers/markdown-negotiation-partial-score.jpg)

## Why the label is not enough

Markdown has no failure mode a server can test. [RFC 7763](https://www.rfc-editor.org/rfc/rfc7763.html), which registers the `text/markdown` type, says verbatim that the original syntax "explicitly rejects the notion of validity: there is no such thing as 'invalid' Markdown." Plain prose with one heading is legal Markdown. So is an HTML-to-text dump full of tab characters. A scanner cannot ask "is this valid?" It can only ask "does this look like a document an agent can navigate?"

[According to RFC 9110 §8.3](https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type), the `Content-Type` header "indicates the media type of the associated representation." It is a claim about the body, not proof of it. C1 therefore scores two things separately: the content type (does it say `text/markdown`?) and the body (does it look like Markdown?). Both earn the full 8 points. Either one alone earns 4.

The body test, as it runs in AIScan's scoring code (read on 1 December 2026):

1. Take the first 2,000 characters of the response to `Accept: text/markdown`.
2. If they contain `<html` or `<body`, the body is HTML. Stop.
3. Look at the first 80 lines. Count a line once for each of: it starts with 1 to 6 `#` and a space; it starts with `-` or `*` and a space; it contains a `[text](url)` link.
4. Three or more counts: Markdown.

The marks are, according to the [CommonMark spec](https://spec.commonmark.org/0.31.2/), ATX headings, bullet list items and inline links, minus the list forms the test skips.

## What we found on the eight partials

We queried the AIScan scan corpus on 1 December 2026: newest site scan per host, rubric 2026.08.2, aiscan.site excluded, 895 hosts. C1 stood at 294 pass (226 through `/index.md`, 68 through the header), 9 partial and 592 fail. Eight partials carried the evidence `Accept: text/markdown → 200 (text/markdown; charset=utf-8)`, the same evidence the 68 header passes show. The ninth answered 404 with a Markdown content type.

We then fetched all eight homepages (verified on 1 December 2026 between 13:30 and 13:50 UTC) with `Accept: text/markdown` and applied the same rule. We name none of them.

| Body we got back (1 Dec 2026) | Sites | Structure lines |
|---|---|---|
| Short summary: one heading, then prose and Q&A text | 3 | 1 |
| Long article: headings and a blockquote, no lists or links near the top | 1 | 2 |
| HTML converted to text: one `# Home`, then whitespace and stripped words | 1 | 1 |
| Empty template: `# Home`, then a metadata blockquote | 1 | 1 |
| Now serves `text/html` to the header (site changed since the scan) | 1 | 0 |
| Reads as Markdown from our test machine, still partial on a fresh scan | 1 | 8 |

For contrast, the 64 header passes that still serve Markdown today all scored 4 or more, and one of our own sites, [thinkrank.ai](https://thinkrank.ai), returns 19: four headings and fifteen list items in its first 31 lines. The last row is a limit of this study. That site sends YAML front matter and image-heavy link lines; something in the scanner's fetch differed from ours, and the evidence string does not say what. We have asked for the reason to be printed in the report (link in the FAQ).

## How to fix it

**Pick the branch that matches what your server sends.** Run `curl -s -H "Accept: text/markdown" https://yoursite.com/ | head -c 2000` and look at it.

| What the first 2,000 characters look like | Branch | Change |
|---|---|---|
| `# Title`, then paragraphs | Short summary | Add `##` sections and a `-` link list |
| Long intro, structure further down | Long article | Move a contents list to the top |
| `# Home`, then indented fragments and `&amp;` | Converter | Convert tags, do not strip them |
| `# Home` and a date, nothing else | Empty template | Fix the content source |

### Short summary pages (most app and Next.js sites)

A route handler that returns `# Title` plus a paragraph is honest but thin. Add the page's real structure:

1. Turn the page's sections into `##` headings, one per section.
2. Add a navigation list near the top, one `-` line per important page, each a `[name](https://yoursite.com/path)` link.
3. Write FAQ entries as `### Question` headings, not `Q:` and `A:` lines.

Three section headings or three nav links clear the threshold on their own.

### Long articles

The structure is there, it is just below the cut. A 600-character standfirst and a blockquote can use up the window. Move a short contents list (`- [Section](#section)`) above the first paragraph, or open with the first `##` section sooner.

### HTML-to-text converters (common on WordPress)

If the body is one `# Home` followed by indented fragments and `&amp;`, the converter is stripping tags, not converting them. Switch to one that maps `<h2>` to `##`, `<li>` to `-` and `<a>` to `[text](url)`, and limit it to the main content area so the header markup does not fill the first 2,000 characters. The [Markdown hub](/blog/markdown-for-ai-agents) lists the per-stack options.

### Empty templates

A stub that prints `# Home` and a "Last modified" line means the generator found no content to render. Fix the template's content source, or stop answering `text/markdown` until it works: a clean fail is more honest than a partial.

### Things that will not help

Changing `charset`, adding `Vary: Accept`, or switching to `text/x-markdown`. `Vary: Accept` is correct for caches and you should send it, but C1's body test never reads it.

## How to check it worked

Scan with AIScan first, then read check C1:

```
npx aiscan-cli yoursite.com
```

C1 should show `pass` with the same `Accept: text/markdown → 200 (text/markdown...)` evidence. To check by hand before deploying, this script applies the same rule to any URL:

```python
import re, sys, urllib.request
req = urllib.request.Request(sys.argv[1], headers={"Accept": "text/markdown",
                                           "User-Agent": "Mozilla/5.0 md-check"})
r = urllib.request.urlopen(req)
body = r.read().decode("utf-8", "replace")[:2000]
ctype = r.headers.get("content-type", "")
lines = 0
if not re.search(r"<(html|body)[\s>]", body, re.I):
    for l in body.splitlines()[:80]:
        lines += bool(re.match(r"#{1,6}\s", l))
        lines += bool(re.match(r"[-*]\s+", l))
        lines += bool(re.search(r"\[[^\]]+\]\([^)]+\)", l))
print(ctype, "| structure lines:", lines, "| need 3")
```

Verified on 1 December 2026 against thinkrank.ai, it printed `text/markdown; charset=utf-8 | structure lines: 19 | need 3`. Any count of 3 or more passes the body test. A count of 0 with `text/html` means the header route is not wired up at all; the [406 guide](/blog/406-not-acceptable-agent-discovery-files) covers servers that refuse the header outright.

## What the partial tells you about the report

The evidence string for a partial and a pass is identical, which is why this page exists. The same pattern turned up across other checks in our [evidence string audit](/blog/evidence-string-audit), and the [Markdown corpus study](/blog/markdown-twin-beyond-docs) found the opposite gap: passes on bodies that were never Markdown. Until the report prints the structure count, the script above is the quickest way to see it.

Run a full scan on [AIScan](https://aiscan.site/) after the fix, then pick the next item from [every fix guide](/guides).

