Whitespace Handling in html-to-markdown

Official

Control HTML to Markdown whitespace conversion.

Authorkreuzberg-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides fine-grained control over how whitespace, newlines, and indentation are handled when converting HTML to Markdown, ensuring the output matches your exact formatting requirements.

Core Features & Use Cases

  • Whitespace Modes: Choose between Normalized (collapses spaces, normalizes newlines) and Strict (preserves all whitespace exactly).
  • Newline Styles: Configure how <br> tags are rendered (Spaces or Backslash).
  • List Indentation: Control nested list indentation with Spaces or Tabs.
  • Wrapping Options: Enable line wrapping with configurable width and word preservation.
  • Use Case: Convert a poem from HTML to Markdown while preserving its exact line breaks and spacing, or clean up messy HTML from a CMS into a consistently formatted Markdown document.

Quick Start

Convert the provided HTML content using strict whitespace preservation and backslash newlines.

Dependency Matrix

Required Modules

None required

Components

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 Handling in html-to-markdown
Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#whitespace-handling-in-html-to-markdown

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.