Markdown Edge Case Handler
Ensures reliable HTML to Markdown conversion by handling malformed markup, binary data detection, and complex encoding issues.
This skill provides specialized logic for the html-to-markdown plugin to manage the complexities of real-world web content. It implements a multi-layer defense against non-HTML inputs—including binary magic prefix detection and UTF-16 heuristic scanning—to prevent processing errors. By leveraging robust parser fallbacks and advanced entity decoding, it gracefully recovers from malformed tags, mismatched nesting, and invalid attributes, ensuring Claude produces consistent, high-quality Markdown even from adversarial or poorly structured source material.
주요 기능
01Automatic recovery from malformed HTML and mismatched tag nesting
02Panic-safe execution pipeline with standardized error reporting
03Multi-layer binary detection using magic prefixes and control character ratios
04Heuristic UTF-16 detection for files without Byte Order Marks (BOM)
05Comprehensive entity decoding for over 100 HTML5 character entities
06480 GitHub stars
사용 사례
01Standardizing content migration from CMS platforms to Markdown-based static sites
02Protecting document processing pipelines from crashing on corrupted or binary files
03Converting messy or legacy web data scraped from diverse internet sources