Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

markdown-to-html

bởi claudiodrusus

Web & Frontend Development
771Lượt tải do clawskills.sh công bố
1Sao
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Cài đặt

clawhub install claudiodrusus/markdown-to-html

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết