markdown leftover

warning markdown-leftover Invented facts

Markdown that reached the HTML unrendered: `**bold**`, a `## Heading` at the start of a paragraph, a `[text](address)` link. It is the typical trace of a model's reply pasted into a CMS as is, and readers see the asterisks. Footnote stars, `C#`, hashtags and anything inside `` or `

` are not judged, and Markdown source files are not checked at all.

What indexgap reports

The finding reads:

warning  markdown-leftover  Markdown left in the text: “…” — readers see asterisks and hashes instead of formatting

How to fix it

Convert the Markdown to HTML before publishing, or remove the markup from the text. In the pipeline, render a model's reply as Markdown instead of pasting it into the template as is.

How it behaves at scale

Collapsed when it fires template-wide. If it appears on 90% or more of the pages — or of one language version — of a site with at least 20 pages, it is a property of the template and is reported once, with the count, instead of once per page.

Finding it

pipx install indexgap
cd your-project
indexgap init
indexgap check

Then indexgap brief turns every finding on this page into a work order in indexgap-briefs/, with the thresholds the result has to satisfy and the command to check it.

Related checks in invented facts

All checks · Invented facts