task-list-detection-and-conversion

Convert HTML checkbox list items into Markdown task lists.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the conversion of HTML list items, specifically those containing checkboxes, into a Markdown task list format, making it easier to manage to-do items across different platforms.

Core Features & Use Cases

  • Checkbox Detection: Identifies <li> elements containing <input type="checkbox">.
  • State Preservation: Accurately converts checked and unchecked checkboxes to their Markdown equivalents (- [x] and - [ ]).
  • Content Handling: Processes the text content within list items.
  • Use Case: Convert a section of an HTML document detailing project tasks into a Markdown to-do list for use in a README file or issue tracker.

Quick Start

Convert the provided HTML snippet into a Markdown task list.

Frequently Asked Questions about task-list-detection-and-conversion

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

FAQPage Schema
How do I convert HTML checkboxes to Markdown task lists?

To convert HTML checkboxes to Markdown task lists, this Skill detects <li> elements containing <input type="checkbox"> and translates them into standard Markdown syntax, preserving both the item content and the checked or unchecked state.

Does converting HTML lists to Markdown preserve the checkbox state?

Converting HTML lists to Markdown preserves the checkbox state by accurately mapping checked and unchecked HTML inputs directly to their Markdown equivalents, specifically formatting them as `- [x]` and `- [ ]` respectively.

What is the best way to turn an HTML to-do list into a Markdown checklist?

The best way to turn an HTML to-do list into a Markdown checklist is using an automated conversion process that specifically identifies interactive checkbox elements within HTML list items and formats the text content for Markdown documents.

How do I extract checkbox items from an HTML document for a README file?

To extract checkbox items from an HTML document for a README file, this Skill identifies HTML list items containing checkboxes, processes the inner text content, and outputs a formatted Markdown task list ready for integration.

Can I use this to convert project tasks from an HTML page into Markdown?

You can use this to convert project tasks from an HTML page into Markdown by detecting list items with checkboxes and transforming them into a Markdown to-do list format suitable for issue trackers or README files.