# Markdown Rendering Regression

> Use when validating built HTML from Markdown or MDX content, especially Astro docs/wiki pages, for raw Markdown leaks, frontmatter leakage, placeholder copy, local filesystem paths, internal build labels, emoji UI icons, and artifact wording regressions.

- Skill: `sheshiyer/markdown-rendering-regression` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add sheshiyer/markdown-rendering-regression`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sheshiyer/markdown-rendering-regression/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: Sheshiyer (https://skillmd.com/u/sheshiyer)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/sheshiyer/markdown-rendering-regression

---


# Markdown Rendering Regression

## Purpose

Catch public documentation regressions that ordinary builds miss. Build success does not prove Markdown rendered correctly or that generated copy is safe for readers.

## What To Check

- Raw Markdown syntax visible in rendered pages: `**bold**`, `](link)`, fenced code markers, frontmatter delimiters.
- Placeholder copy: `_No source outputs were available_`, `_No structured content available_`, TODO/filler markers.
- Internal process language: wave labels, current run/build labels, raw output language, local machine paths.
- Artifact wording: use `Source artifact`, `Open artifact`, or `Download`; do not expose `Raw artifact path`.
- UI icon policy: verify rendered public HTML does not expose emoji icons where the design system bans them.
- Frontmatter descriptions: sidebar cards and document rails often expose frontmatter directly, so scan full visible text, not just Markdown bodies.

## Default Command

Use the helper script when available:

```bash
node ~/.agents/skills/markdown-rendering-regression/scripts/verify-public-html.mjs --dist dist
```

For repo-local copies:

```bash
node scripts/verify-public-html.mjs
```

## Implementation Notes

- Run after the static build has produced `dist/`.
- Strip `<script>` and `<style>` before visible-text checks.
- Scan all generated HTML, not only known docs pages.
- Report exact file and banned label for every failure.
- Keep the ban list configurable by editing the script constants or passing a JSON config in future repo-specific variants.

## Acceptance Examples

- A rendered page containing `_No source outputs were available_` must fail.
- A rendered page containing visible `**bold**` must fail.
- A rendered page containing `/Volumes/madara` or another local absolute path must fail.
- A rendered page containing `Raw artifact path` must fail.

