whitespace-normalization
OfficialNormalize whitespace in text
Authorkreuzberg-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the inconsistent and often messy handling of whitespace in text, ensuring uniformity and readability across different contexts.
Core Features & Use Cases
- Whitespace Preservation: Maintains original whitespace, including line breaks and multiple spaces.
- Minimal Whitespace: Trims leading/trailing whitespace and normalizes internal whitespace to single spaces.
- Collapse Whitespace: Applies HTML5-like collapsing rules, replacing sequences of whitespace with a single space and handling line breaks from
<br>tags. - Use Case: When converting HTML content to Markdown, this skill ensures that the resulting Markdown is clean and well-formatted, respecting or normalizing whitespace as needed.
Quick Start
Normalize whitespace in the provided text using the collapse mode.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: whitespace-normalization Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#whitespace-normalization Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.