hatena-blog-markdown-extractor

Extract Hatena Blog articles into Markdown with frontmatter and absolute image URLs.

Updated Oct 27, 2025
One-click install
npx skills add https://github.com/shoji-sws/hatena-md-skill --skill hatena-blog-markdown-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hatena-blog-markdown-extractor
Source: https://github.com/shoji-sws/hatena-md-skill/tree/main/.claude/skills/hatena-md
Command: npx skills add https://github.com/shoji-sws/hatena-md-skill --skill hatena-blog-markdown-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract Hatena Blog article content and convert it to Markdown with frontmatter. Preserves images as absolute URLs and removes clutter like headers, footers, sidebars, and ads.

Core Features & Use Cases

  • Extracts the article body from Hatena Blog URLs and converts it to Markdown with a consistent frontmatter header.
  • Keeps image URLs as absolute paths for reliable linking across environments.
  • Cleans up the document by removing navigation, headers, footers, sidebars, and ads to produce clean output suitable for publishing.

Quick Start

Provide a Hatena Blog article URL to extract and convert to Markdown.

Frequently Asked Questions about hatena-blog-markdown-extractor

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

FAQPage Schema
How do I convert a Hatena Blog article to Markdown?

To convert a Hatena Blog article to Markdown, the extractor fetches the URL, parses the HTML, and transforms the content into a clean Markdown file with frontmatter. It targets individual posts and outputs a consistent document structure.

What is the best way to extract blog content without headers, footers, and sidebars?

Extracting blog content without headers, footers, and sidebars is done by targeting the article body and removing page chrome. The extractor produces a clean Markdown file suitable for publishing by stripping out navigation, ads, and other clutter.

Does the Markdown extractor preserve image URLs from Hatena Blog posts?

Yes, the Markdown extractor preserves image URLs from Hatena Blog posts as absolute paths. This ensures reliable image linking across different environments and prevents broken images in the converted Markdown output.

Can I use this to extract multiple Hatena Blog posts into Markdown files?

You can use this to extract individual Hatena Blog posts into Markdown files by providing a specific article URL. The extractor is designed to target single posts and convert them to Markdown with frontmatter headers.

Do I need Node.js to run the Hatena Blog Markdown extractor?

Yes, you need Node.js to run the Hatena Blog Markdown extractor. The implementation relies on a Node.js and TypeScript environment using axios, cheerio, and turndown to fetch, parse, and convert the Hatena Blog content.

What is frontmatter in Markdown extraction and why is it included?

Frontmatter in Markdown extraction is a consistent header added to the top of the converted file. It is included to provide structured metadata for the Hatena Blog article, making the resulting Markdown file easier to organize and publish.