跳到正文
TakoAPI
返回技能列表

markdown-to-html

由 claudiodrusus 提供

Web & Frontend Development
771下载量由 clawskills.sh 提供
1星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Convert Markdown text to beautifully styled, self-contained HTML with embedded CSS.

描述

该技能的功能

Converts Markdown files to self-contained HTML documents using only Python's standard library. All CSS is embedded inline, so the output works without external dependencies or a web server. Supports light and dark themes, stdin piping, and a full range of Markdown elements including tables and code blocks.

Because all CSS is embedded inline, the output file is fully portable and works in any browser or email client without a server, build step, or installed packages.

何时使用

  • Converting a project README into a shareable HTML page
  • Building styled email newsletter issues from Markdown drafts
  • Generating offline-readable documentation without a static site generator
  • Producing formatted release notes from a CHANGELOG file
  • Creating dark-mode meeting notes for presentation or archiving

示例工作流

输入

User asks: Convert my notes.md to a dark-themed HTML file titled 'Meeting Notes'

智能体
  1. 1

    Locate notes.md in the working directory

  2. 2

    Run python main.py notes.md -o notes.html --theme dark --title "Meeting Notes"

  3. 3

    Verify the output file is written to disk

  4. 4

    Confirm the HTML opens standalone in a browser with no external requests

输出

notes.html, a self-contained HTML file with dark theme styling, an embedded title, and no external dependencies

安装

clawhub install claudiodrusus/markdown-to-html

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接