export-html

Convert a Markdown article into a self-contained HTML file with base64-embedded images.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/OmuNaman/blog-automation --skill export-html
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: export-html
Source: https://github.com/OmuNaman/blog-automation/tree/main/.claude/skills/export-html
Command: npx skills add https://github.com/OmuNaman/blog-automation --skill export-html

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts a published or drafted article from Markdown into a single self-contained HTML file with all images embedded as base64, enabling easy distribution without external assets.

Core Features & Use Cases

  • Locate article in published/ or drafts/ and convert to HTML.
  • Embed all images as base64 data URIs inside the HTML to remove external dependencies.
  • Produce a clean, Substack/Medium-friendly layout with consistent typography and styling.
  • Use Case: An author wants to share a finished article as a standalone HTML page that can be pasted directly into a newsletter editor without hosting images.

Quick Start

Run the export-html skill after finalizing an article to generate published/<topic-slug>.html with all images embedded.

Frequently Asked Questions about export-html

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

FAQPage Schema
How do I convert markdown to HTML with embedded base64 images?

To convert markdown to HTML with embedded base64 images, locate your drafted or published article and export it. The skill scans your article directories, encodes all images as base64 data URIs, and produces a self-contained HTML file ready for distribution.

Why do I need a Python environment to export HTML with embedded images?

You need a Python environment to export HTML with embedded images because Python handles the base64-encoding process. This encoding converts your image files into data URIs, allowing them to be embedded directly within the HTML output without external hosting.

Can I paste exported HTML directly into a newsletter editor like Substack or Medium?

Yes, you can paste exported HTML directly into newsletter editors like Substack or Medium. The skill produces a clean, self-contained HTML layout with consistent typography and embedded base64 images, ensuring no external assets are required.

What is the best way to share a finished article without hosting external images?

The best way to share a finished article without hosting external images is to export it as a self-contained HTML file. By embedding all images as base64 data URIs, the HTML output removes external dependencies and can be easily distributed.

Where does the exported HTML file get saved?

The exported HTML file is saved to the published/ directory. It is outputted as published/<topic-slug>.html, ensuring your self-contained HTML file with embedded base64 images is stored alongside your other published articles.