blockquote-conversion

Convert HTML blockquote elements to Markdown with nested structure support.

836|66|Updated Feb 3, 2025
One-click install
npx skills add https://github.com/kreuzberg-dev/html-to-markdown --skill blockquote-conversion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blockquote-conversion
Source: https://github.com/kreuzberg-dev/html-to-markdown/tree/main/.ai-rulez/domains/conversion-algorithms/skills/blockquote-conversion
Command: npx skills add https://github.com/kreuzberg-dev/html-to-markdown --skill blockquote-conversion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of accurately converting HTML blockquote elements into their Markdown equivalents, ensuring proper formatting and readability.

Core Features & Use Cases

  • Blockquote Conversion: Transforms HTML <blockquote> tags into Markdown's > prefix.
  • Nesting Support: Correctly handles nested blockquotes by adding multiple > markers.
  • Content Preservation: Maintains the original content and structure within the blockquote, including paragraphs and blank lines.
  • Use Case: When migrating content from an HTML-based system to a Markdown editor, this Skill ensures that all quoted material is rendered correctly.

Quick Start

Use the blockquote-conversion skill to convert the following HTML content to Markdown.

Frequently Asked Questions about blockquote-conversion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert HTML blockquotes to Markdown?

This Skill converts HTML `<blockquote>` elements into Markdown by applying the `>` prefix line-by-line, preserving the original content, paragraphs, and blank lines during the formatting process.

Does converting HTML blockquotes to Markdown support nested structures?

Yes, converting nested HTML blockquotes to Markdown adds multiple `>` markers to correctly represent the nesting depth, ensuring the hierarchical structure is maintained in the output.

What is the best way to migrate quoted content from HTML to Markdown?

The best way to migrate quoted content from HTML to Markdown is using a conversion process that maps `<blockquote>` tags to the `>` prefix, ensuring quoted material renders correctly in the Markdown editor.

How are blank lines within a blockquote handled during Markdown conversion?

During Markdown conversion, blank lines within the blockquote are maintained by applying the appropriate greater-than prefixes, ensuring the content structure and readability are preserved.

Can I convert HTML blockquotes to Markdown without losing paragraph structure?

Yes, you can convert HTML blockquotes to Markdown without losing paragraph structure because the process handles line-by-line formatting and preserves the content and blank lines within the blockquote.