md-to-html

Community

Convert Markdown to self-contained HTML with TOC

Authorcr330326
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Converts Markdown into standalone HTML pages with an auto-generated table of contents, syntax-highlighted code blocks, and KaTeX math rendering, so you can share styled Markdown output without managing assets.

Core Features & Use Cases

  • Auto-generated Table of Contents (TOC) from headings (h2-h4)
  • Syntax-highlighted code blocks via highlight.js
  • KaTeX rendering for inline and display math
  • Use Case: Imagine preparing project documentation or notes in Markdown and distributing a self-contained HTML file that looks polished and works offline.

Quick Start

Run the convert.mjs script with your input Markdown and an output HTML path to generate a self-contained HTML file.

Dependency Matrix

Required Modules

markedhighlight.jskatex

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: md-to-html
Download link: https://github.com/cr330326/AgentSkill/archive/main.zip#md-to-html

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.