baoyu-url-to-markdown

Fetch web pages via Chrome CDP and convert rendered content to Markdown with YAML frontmatter.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/chengyihua/nanobot-ts --skill baoyu-url-to-markdown-chengyihua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-url-to-markdown
Source: https://github.com/chengyihua/nanobot-ts/tree/main/skills/baoyu-url-to-markdown
Command: npx skills add https://github.com/chengyihua/nanobot-ts --skill baoyu-url-to-markdown-chengyihua

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires linkedom, @mozilla/readability, turndown, turndown-plugin-gfm, and includes scripts (resource) components.

What problem does it solve?

Web pages often render content with JavaScript, making plain text extraction difficult. This Skill fetches any URL and converts the rendered content into clean Markdown, including page metadata, for offline reading and easy archiving.

Core Features & Use Cases

  • Chrome CDP-based rendering to capture dynamic content.
  • Dual capture modes: auto on page load or manual "wait for signal" for login-protected pages.
  • Output includes Markdown content with YAML frontmatter for metadata, suitable for CMS or notes.

Quick Start

Run the URL through the tool to save the page as Markdown to a local file.

Frequently Asked Questions about baoyu-url-to-markdown

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

FAQPage Schema
How do I convert a webpage to Markdown for offline reading?

You can convert a webpage to Markdown by fetching the URL via Chrome CDP, which renders dynamic content, extracts the text, and outputs a clean Markdown file with YAML frontmatter for reliable offline reading.

Can I capture content from login-protected pages as Markdown?

Yes, you can capture login-protected pages as Markdown using the manual wait-for-signal capture mode, which pauses content extraction until you log in and trigger the conversion.

Does this webpage to Markdown converter handle JavaScript-rendered content?

Yes, it handles JavaScript-rendered content by using Chrome CDP to fully load the dynamic page before extraction, ensuring reliable capture during the webpage to Markdown conversion.

What is the best way to save web page metadata for my notes or CMS?

The best way to save web page metadata for notes or CMS is using a converter that outputs YAML frontmatter, extracting page metadata and injecting it into the Markdown header automatically.

Why does plain text extraction fail on dynamic web pages?

Plain text extraction fails on dynamic web pages because standard fetchers miss JavaScript-rendered DOM elements, whereas Chrome CDP renders the page completely first to ensure successful HTML-to-Markdown conversion.