Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>DOC-X-RAYNew to Visual Studio Code? Get it now.
DOC-X-RAY

DOC-X-RAY

Shunsuke F

|
10 installs
| (0) | Free
Read-only structural scanner for Markdown and DOCX documents, with CLI, MCP, and VS Code diagnostics.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DOC-X-RAY

Japanese version

DOC-X-RAY v0.1 scans Markdown and DOCX structure without modifying the source file. It returns stable document, block, section, paragraph, table, header, footer, image, and relationship identities through CLI and stdio MCP interfaces.

Detects

  • Heading level jumps.
  • Duplicate explicit or generated heading IDs.
  • Broken local anchor links.
  • Malformed GFM table delimiters and row column counts.
  • Broken DOCX relationships and invalid numbering references.
  • Source identity and line evidence for each finding.

Code fences, external links, and unsupported document formats are not parsed as Markdown structure.

VS Code Commands

  • DOC-X-RAY: Scan Active Document
  • DOC-X-RAY: Scan Workspace
  • DOC-X-RAY: Copy AI Report
  • DOC-X-RAY: Save AI Report

Findings appear in VS Code Problems. The extension scans saved Markdown and DOCX files and discovers its local stdio MCP server automatically.

CLI

node dist/cli.cjs scan .\guide.md
node dist/cli.cjs scan .\guide.md --max-bytes 5242880
node dist/cli.cjs diff .\before.json .\after.json

MCP tools: docx_scan, docx_scan_workspace, and docx_diff_scans.

Safety

Scanning is read-only. It does not rewrite Markdown, mutate DOCX, infer semantics, render browser output, or modify text. Inputs and DOCX archives above configured byte, entry, expansion, or entity limits are rejected before trusted parsing.

Source

ai-in-the-loop-pack

License

Apache License 2.0.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft