Skip to content

📝 docs(skills): add HTML input selector guidance to processing-markdown skill#1356

Merged
harehare merged 1 commit intomainfrom
worktree-feat/update-skill
Feb 28, 2026
Merged

📝 docs(skills): add HTML input selector guidance to processing-markdown skill#1356
harehare merged 1 commit intomainfrom
worktree-feat/update-skill

Conversation

@harehare
Copy link
Copy Markdown
Owner

Document that -I html converts HTML to Markdown before querying, so Markdown selectors must be used instead of HTML element names. Includes examples of incorrect HTML selectors and correct Markdown equivalents.

…wn skill

Document that -I html converts HTML to Markdown before querying, so
Markdown selectors must be used instead of HTML element names. Includes
examples of incorrect HTML selectors and correct Markdown equivalents.
Copilot AI review requested due to automatic review settings February 28, 2026 02:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds guidance to the “processing-markdown” skill clarifying that when using -I html, mq converts HTML into Markdown nodes first, so queries must use mq’s Markdown selectors (e.g., .h, .link) rather than HTML tag names (e.g., .div, .p).

Changes:

  • Documented that HTML input is converted to Markdown before querying, so selector semantics remain Markdown-based.
  • Added “wrong vs correct” CLI examples for common HTML-to-Markdown selector mappings.

@harehare harehare merged commit a004113 into main Feb 28, 2026
10 checks passed
@harehare harehare deleted the worktree-feat/update-skill branch February 28, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants